fixperms.sh 213 B

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