fixperms.sh 243 B

123456789
  1. #!/bin/sh
  2. chgrp www .
  3. chgrp -R www *
  4. sh -c "find . -type f | xargs chmod 664"
  5. sh -c "find ./bin -type f | xargs chmod 775"
  6. sh -c "find . -type d | xargs chmod 775"
  7. sh -c "find . -type d | xargs chmod +s"
  8. sh -c"umask 0002"
  9. chmod +x fixperms.sh