Function fchmod

  • Sets the permissions on the file. No arguments other than a possible exception are given to the completion callback.

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

    Parameters

    Returns void

    Since

    v0.4.7

    See

  • Sets the permissions on the file. No arguments other than a possible exception are given to the completion callback.

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

    Parameters

    • fd: number
    • mode: Mode

    Returns Promise<void>

    Since

    v0.4.7

    See

Methods

  • Asynchronous fchmod(2) - Change permissions of a file.

    Parameters

    • fd: number

      A file descriptor.

    • mode: Mode

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

    Returns Promise<void>

Generated using TypeDoc