root/scripts/util/fix_permissions @ 233
1 |
#!/bin/sh
|
---|---|
2 |
# Sets correct permissions on shared bien files
|
3 |
|
4 |
selfDir="$(dirname -- "$0")" # dir of symlink $0, not this script itself |
5 |
cd "$selfDir" |
6 |
|
7 |
chgrp -R bien . |
8 |
find . -type d -exec chmod g+s "{}" \; # files shouldn't be setgid |
9 |
chmod -R g+w . |