Since these are directories, default permissions of 644 rather than 755 make little sense. Maybe creation/modification should be made optional via a flag. Or maybe remove the perm part alltogether - when mapping to existing directories it's really easy to miss setting this parameter and either breaking or mistakenly exposing things when permissions are changed.
Since these are directories, default permissions of 644 rather than 755 make little sense. Maybe creation/modification should be made optional via a flag. Or maybe remove the
perm
part alltogether - when mapping to existing directories it's really easy to miss setting this parameter and either breaking or mistakenly exposing things when permissions are changed.