grav-lecampus/fixperms.sh

9 lines
233 B
Bash
Raw Normal View History

2019-04-02 18:42:11 +02:00
#!/bin/sh
chgrp www-data .
chgrp -R www-data *
2021-06-12 14:36:11 +02:00
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"