added fixeperms script

This commit is contained in:
2019-02-12 16:22:03 +01:00
parent 6222addd9c
commit 3791a9f435
Executable
+8
View File
@@ -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"