fixperms.sh 182 B

123456
  1. #!/bin/sh
  2. chown -R 1000:http .
  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 {} \;