Explorar o código

added fixeperms script

Bachir Soussi Chiadmi %!s(int64=5) %!d(string=hai) anos
pai
achega
3791a9f435
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      fixperms.sh

+ 8 - 0
fixperms.sh

@@ -0,0 +1,8 @@
+#!/bin/sh
+chgrp www-data .
+chgrp -R www-data *
+sh -c "find . -type f | xargs chmod 664"
+sh -c "find ./bin -type f | xargs chmod 775"
+sh -c "find . -type d | xargs chmod 775"
+sh -c "find . -type d | xargs chmod +s"
+sh -c "umask 0002"