Revision 239
Added by Aaron Marcuse-Kubitza about 13 years ago
fix_permissions | ||
---|---|---|
7 | 7 |
opts='--quiet --changes' |
8 | 8 |
chgrp --recursive --no-dereference $opts bien . |
9 | 9 |
find . -type d -exec chmod $opts g+s "{}" \; # only dirs should be setgid |
10 |
chmod --recursive $opts g+w . |
|
10 |
find . -perm /u=w,g=w,o=w -exec chmod $opts g+w "{}" \; # extend any write perms |
Also available in: Unified diff
fix_permissions: Don't add group write perms to read-only files