grav-lecampus/fixperms.sh
2021-06-11 12:34:21 +02:00

9 lines
219 B
Bash
Executable File

#!/bin/sh
chgrp www-data .
chgrp -R www-data *
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