Last active
December 27, 2015 15:09
-
-
Save joanteixi/7345037 to your computer and use it in GitHub Desktop.
symfony permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\ -f1` | |
sudo chmod +a "$APACHEUSER 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 | |
or... | |
umask(0002) or umask(0000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment