Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

chmodSyncRecursive should not unset directory execute permission #93

Open
erhhung opened this issue Aug 8, 2014 · 0 comments
Open

chmodSyncRecursive should not unset directory execute permission #93

erhhung opened this issue Aug 8, 2014 · 0 comments

Comments

@erhhung
Copy link

erhhung commented Aug 8, 2014

If I want to call chmodSyncRecursive(dir, 0644), then that directory and all subdirectories become unlistable because directories must have execute permissions. chmodSyncRecursive (and maybe other similar functions) should take a third optional argument for dirmode (second arg being filemode) that is used specifically for directories (and defaults to filemode).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant