Skip to content

Commit

Permalink
Fix setting permission for var subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
voda committed Feb 19, 2016
1 parent 4924513 commit dbee0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ If there are any issues, correct them now before moving on.
$ rm -rf var/cache/* var/logs/* var/sessions/*
$ 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" var
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" var
$ sudo chmod -R +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var
$ sudo chmod -R +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" var
**3. Using ACL on a system that does not support chmod +a**
Expand Down

0 comments on commit dbee0df

Please sign in to comment.