changeset 380 | b4f69e646e44 |
parent 346 | 4cd0f8c936ed |
child 410 | 240ca282331d |
--- a/build/post_install.sh Fri Oct 21 09:26:28 2016 +0200 +++ b/build/post_install.sh Fri Oct 21 13:50:03 2016 +0200 @@ -1,4 +1,15 @@ #!/usr/bin/env sh +if [ -d /var/www/corpusdelaparole/corpus-back/ ]; then + pushd /var/www/corpusdelaparole/corpus-back/ + + echo "Correcting file permissions for back office" + chgrp -R apache storage bootstrap/cache + chmod -R ug+rwx storage bootstrap/cache + + popd +fi + + echo "Restart httpd" /usr/bin/systemctl restart httpd