|
@@ -1,8 +1,8 @@
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
chgrp www-data .
|
|
chgrp www-data .
|
|
chgrp -R 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"
|
|
|
|
|
|
+find . -type f -exec chmod 664 {} \;
|
|
|
|
+find ./bin -type f -exec chmod 775 {} \;
|
|
|
|
+find . -type d -exec chmod 775 {} \;
|
|
|
|
+find . -type d -exec chmod +s {} \;
|
|
|
|
+chmod +x fixperms.sh
|