fs.chmod(path, mode, callback)


异步地更改文件的权限。 除了可能的异常,完成回调没有其他参数。

也可参阅 chmod(2)

Asynchronously changes the permissions of a file. No arguments other than a possible exception are given to the completion callback.

See also: chmod(2).