diff --git a/install/installation.sh b/install/installation.sh index d2afdbd..0c544e6 100755 --- a/install/installation.sh +++ b/install/installation.sh @@ -372,6 +372,16 @@ fi cd ../ echo +echo "Mise à jour des droits des dossiers tmp et logs" +echo + +HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1` +setfacl -R -m u:${HTTPDUSER}:rwx tmp +setfacl -R -d -m u:${HTTPDUSER}:rwx tmp +setfacl -R -m u:${HTTPDUSER}:rwx logs +setfacl -R -d -m u:${HTTPDUSER}:rwx logs + +echo echo "*** FIN DE L'INSTALLATION ***" echo -- libgit2 0.21.2