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