fs.lchmod(path, mode, callback)
-
mode
<integer> -
callback
<Function>err
<Error> | <AggregateError>
更改符号链接的权限。除了可能的异常之外,没有为完成回调提供任何参数。
¥Changes the permissions on a symbolic link. No arguments other than a possible exception are given to the completion callback.
此方法仅在 macOS 上实现。
¥This method is only implemented on macOS.
有关更多详细信息,请参阅 POSIX lchmod(2)
文档。
¥See the POSIX lchmod(2)
documentation for more detail.