filehandle.chmod(mode)


  • mode <integer> 文件模式位掩码。
  • 返回:<Promise> 成功后用 undefined 完成。

修改文件的权限。参见 chmod(2)

🌐 Modifies the permissions on the file. See chmod(2).