Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

fs.lchown not available on Linux #7382

@snoack

Description

@snoack

fs.lchown is implemented as fchown(open(path, O_SYMLINK), ...) and therefore only avialable on Mac OS X. However Linux doesn't have O_SYMLINK but lchown.

Also I'm not sure what happens when you run open(path, O_SYMLINK) on a directory on Mac OS X, but on other UNIX systems you get EISDIR when attempting to open a directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions