Function lchown

  • Change the ownership of a file. If the path is a link it changes the ownership of the link itself. See lchown(2)

    Parameters

    • path: string

      Path to the file.

    • owner: number

      The uid to change the file's owner to.

    • group: number

      The gid to change the file's group to.

    Returns Promise<void>

Generated using TypeDoc