-
Notifications
You must be signed in to change notification settings - Fork 82
Resetting project permissions
Michael Fürnschuß edited this page Aug 31, 2019
·
2 revisions
rm -rf var/cache/*
rm -rf var/log/*
HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/log
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/log
sudo chmod o+w public/resources/ -R
sudo chmod o+w public/resources_test/ -R
chmod o+w+x tests/behat/sqlite/ -R
Check out /share.catrob.at/pocketcode/
- Docker - Linux/Mac/Windows
- Ubuntu - VM/Native
- Installing Elasticsearch
- Server Setup
- Using Webpack (material components)