fixperms.sh 219 B

12345678
  1. #!/bin/sh
  2. chgrp www-data .
  3. chgrp -R www-data *
  4. find . -type f -exec chmod 664 {} \;
  5. find ./bin -type f -exec chmod 775 {} \;
  6. find . -type d -exec chmod 775 {} \;
  7. find . -type d -exec chmod +s {} \;
  8. chmod +x fixperms.sh