SP/web2py/scripts/web2py-lock.sh
Saturneic 064f602b1a Add.
2018-10-25 23:33:13 +08:00

12 lines
417 B
Bash

chown -R nobody:nobody *.py
chown -R nobody:nobody gluon
chown -R nobody:nobody scripts
chown -R nobody:nobody applications/*/modules/
chown -R nobody:nobody applications/*/models/
chown -R nobody:nobody applications/*/controllers/
chown -R nobody:nobody applications/*/views/
chown -R nobody:nobody applications/*/static/
chown -R nobody:nobody applications/*/cron/
echo "unlock with chown -R www-data:www-data ./"