fixperms.sh 186 B

123456
  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 {} \;