Revision 265
Added by Aaron Marcuse-Kubitza about 13 years ago
scripts/util/fix_permissions | ||
---|---|---|
8 | 8 |
chgrp --recursive --no-dereference $opts bien . |
9 | 9 |
find . -type d -exec chmod $opts g+s "{}" \; # only dirs should be setgid |
10 | 10 |
for perm in r w x; do # extend user perms to group |
11 |
find . -perm /u=$perm -exec chmod $opts g+$perm "{}" \; |
|
11 |
find . -not -type l -perm -u=$perm -exec chmod $opts g+$perm "{}" \; |
|
12 |
# don't chmod symlinks |
|
12 | 13 |
done |
Also available in: Unified diff
fix_permissions: Don't chmod symlinks