Skip to content

Commit

Permalink
Merge pull request #420 from christopher-hopper/simplify-fix-permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood authored Apr 6, 2022
2 parents 4aeea1f + 83560c2 commit e860da6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions images/commons/fix-permissions
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# Fix permissions on the given directory to allow group read/write of
# regular files and execute of directories.
find -L "$1" -exec chgrp 0 {} +
find -L "$1" -exec chmod g+rw {} +
find -L "$1" -type d -exec chmod g+x {} +
find -L "$1" -exec chmod g+rwX {} +

0 comments on commit e860da6

Please sign in to comment.