SP/web2py/scripts/web2py-lock.sh

12 lines
417 B
Bash
Raw Normal View History

2018-10-25 15:33:07 +00:00
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 ./"