We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8edcaa2 commit 265f2acCopy full SHA for 265f2ac
scripts/install.sh
@@ -50,6 +50,10 @@ rm -rf Symfony/app/logs/*
50
if [[ "$OSTYPE" == "linux-gnu" ]]; then
51
52
if [[ ! $TRAVIS ]]; then
53
+ # Need to create cache and logs directories, as they do not pre-exist in new deployments
54
+ mkdir -p `pwd`/Symfony/app/cache/
55
+ mkdir -p `pwd`/Symfony/app/logs/
56
+
57
# Set access control for both apache and current user on cache and logs directories
58
sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX `pwd`/Symfony/app/cache `pwd`/Symfony/app/logs
59
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx `pwd`/Symfony/app/cache `pwd`/Symfony/app/logs
0 commit comments