Function lchmod

  • Changes the permissions on a symbolic link. No arguments other than a possible exception are given to the completion callback.

    This method is only implemented on macOS.

    See the POSIX lchmod(2) documentation for more detail.

    Parameters

    Returns void

    Deprecated

    Since v0.4.7

    See

  • Changes the permissions on a symbolic link. No arguments other than a possible exception are given to the completion callback.

    This method is only implemented on macOS.

    See the POSIX lchmod(2) documentation for more detail.

    Parameters

    Returns Promise<void>

    Deprecated

    Since v0.4.7

    See

Methods

  • Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • mode: Mode

      A file mode. If a string is passed, it is parsed as an octal integer.

    Returns Promise<void>

Generated using TypeDoc