chmodSyncRecursive should not unset directory execute permission #93
Labels
No labels
Bug
Enhancement
Feature Request
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/wrench-js#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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).