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