Project

General

Profile

« Previous | Next » 

Revision 234

fix_permissions: Configured output verbosity

View differences:

scripts/util/fix_permissions
4 4
selfDir="$(dirname -- "$0")" # dir of symlink $0, not this script itself
5 5
cd "$selfDir"
6 6

  
7
chgrp -R bien .
8
find . -type d -exec chmod g+s "{}" \; # files shouldn't be setgid
9
chmod -R g+w .
7
opts='--quiet --changes'
8
chgrp --recursive --no-dereference $opts bien .
9
find . -type d -exec chmod $opts g+s "{}" \; # only dirs should be setgid
10
chmod --recursive $opts g+w .

Also available in: Unified diff