grav-lecampus/fixperms.sh
2021-06-10 16:07:48 +02:00

9 lines
233 B
Bash
Executable File

#!/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"