@@ -214,8 +214,8 @@ If there are any issues, correct them now before moving on.
214214
215215.. sidebar :: Setting up Permissions
216216
217- One common issue when installing Symfony is that the ``app /cache `` and
218- ``app /logs `` directories must be writable both by the web server and the
217+ One common issue when installing Symfony is that the ``var /cache `` and
218+ ``var /logs `` directories must be writable both by the web server and the
219219 command line user. On a UNIX system, if your web server user is different
220220 from your command line user, you can try one of the following solutions.
221221
@@ -236,12 +236,12 @@ If there are any issues, correct them now before moving on.
236236
237237 .. code-block :: bash
238238
239- $ rm -rf app /cache/*
240- $ rm -rf app /logs/*
239+ $ rm -rf var /cache/*
240+ $ rm -rf var /logs/*
241241
242242 $ 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`
243- $ sudo chmod +a " $HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app /cache app /logs
244- $ sudo chmod +a " ` whoami` allow delete,write,append,file_inherit,directory_inherit" app /cache app /logs
243+ $ sudo chmod +a " $HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var /cache var /logs
244+ $ sudo chmod +a " ` whoami` allow delete,write,append,file_inherit,directory_inherit" var /cache var /logs
245245
246246
247247 **3. Using ACL on a system that does not support chmod +a **
@@ -255,8 +255,8 @@ If there are any issues, correct them now before moving on.
255255 .. code-block :: bash
256256
257257 $ 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`
258- $ sudo setfacl -R -m u:" $HTTPDUSER " :rwX -m u:` whoami` :rwX app /cache app /logs
259- $ sudo setfacl -dR -m u:" $HTTPDUSER " :rwX -m u:` whoami` :rwX app /cache app /logs
258+ $ sudo setfacl -R -m u:" $HTTPDUSER " :rwX -m u:` whoami` :rwX var /cache var /logs
259+ $ sudo setfacl -dR -m u:" $HTTPDUSER " :rwX -m u:` whoami` :rwX var /cache var /logs
260260
261261 If this doesn't work, try adding ``-n `` option.
262262
0 commit comments