filehandle.chmod(mode)


  • mode <integer> 文件模式位掩码。

    ¥mode <integer> the file mode bit mask.

  • 返回:<Promise> 成功时将使用 undefined 履行。

    ¥Returns: <Promise> Fulfills with undefined upon success.

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

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