From: Julien Moutinho Date: Tue, 19 Mar 2013 14:25:10 +0000 (+0100) Subject: Correction : vm_hosted : rule_www_configure . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=15544277d6904aab26cd5fd0b4c410dafd2b3887;hp=dbed3b586725f1215ad4e33b7f4b5d999684930e Correction : vm_hosted : rule_www_configure . --- diff --git a/vm_hosted b/vm_hosted index 4e4e861..3247eb5 100755 --- a/vm_hosted +++ b/vm_hosted @@ -208,7 +208,7 @@ rule_apache2_configure () { /etc/apache2/site.d/"$site" \ /home/www/etc/apache2/"$site" test -e /home/www/pub/"$site" || - sudo install -d -m 770 -o www."$site" -g www."$site" \ + sudo install -d -m 2770 -o www."$site" -g www."$site" \ /home/www/pub/"$site" getent passwd www."$site" >/dev/null || sudo adduser \ @@ -786,7 +786,7 @@ rule_www_configure () { sudo install -d -m 750 -o www -g www \ /home/www/etc sudo install -d -m 1771 -o www-data -g www-data \ - /home/www/pub \ + /home/www/pub sudo install -d -m 1771 -o log.www -g log.www \ /home/www/log }