diff --git a/fixperms.sh b/fixperms.sh index 4bf7a24..f7c5858 100755 --- a/fixperms.sh +++ b/fixperms.sh @@ -1,6 +1,6 @@ #!/bin/sh -chgrp www-data . -chgrp -R www-data * +chgrp nginx . +chgrp -R nginx * 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"