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

fs.lchown not available on Linux #7382

Closed
snoack opened this issue Mar 31, 2014 · 1 comment
Closed

fs.lchown not available on Linux #7382

snoack opened this issue Mar 31, 2014 · 1 comment

Comments

@snoack
Copy link

snoack commented Mar 31, 2014

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.

@jasnell
Copy link
Member

jasnell commented Jun 24, 2015

@joyent/node-tsc ... thoughts?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants