NuOrder
- $ chmod -R 777 app/cache
- $ chmod -R 777 app/logs
(System suport +a)
- $ HTTPDUSER=
ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1
- $ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
- $ sudo chmod +a "
whoami
allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
(Using ACL on a system that does not support chmod +a)
- $ HTTPDUSER=
ps axo user,comm | 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 app/cache app/logs - $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:
whoami
:rwX app/cache app/logs
- $ sh install.sh