-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symlinks problem #3
Comments
AFAICT this is now addressed on master since somehow the PR #2 has been actually merged. So this bug could be closed. |
fixes the symlinks problem isaacs#3 while not causing the TOCTOU vulnerability isaacs#14 The [patch in libuv 1.21.0](https://github.com/libuv/libuv/releases/tag/v1.21.0) that undeprecates `fs.lchown` [has been incorporated in nodejs Version 10.6.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#2018-07-04-version-1060-current-targos). So I specified the minimum nodejs version in `package.json` with the `engine` key: https://docs.npmjs.com/files/package.json#engines
Fixed in v1.1.0. The fix for chmodr is a bit more complicated, because |
The same issue we had with chmodr.
Script walks on symlinks and tries to change permissions on every file there.
chmdod -R doesn't do that.
#2 closes this.
The text was updated successfully, but these errors were encountered: