Function chown

  • Asynchronously changes owner and group of a file. No arguments other than a possible exception are given to the completion callback.

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

    Parameters

    Returns void

    Since

    v0.1.97

    See

  • Asynchronously changes owner and group of a file. No arguments other than a possible exception are given to the completion callback.

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

    Parameters

    Returns Promise<void>

    Since

    v0.1.97

    See

Methods

  • Asynchronous chown(2) - Change ownership of a file.

    Parameters

    • path: PathLike

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

    • uid: number
    • gid: number

    Returns Promise<void>

Generated using TypeDoc