• Asynchronous lchown(2) - Change ownership 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.

    • uid: number
    • gid: number

    Returns Promise<void>