fixperms.sh 209 B

1234567
  1. #!/bin/sh
  2. chown -R 1000: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