From 15544277d6904aab26cd5fd0b4c410dafd2b3887 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Tue, 19 Mar 2013 15:25:10 +0100 Subject: [PATCH] Correction : vm_hosted : rule_www_configure . --- vm_hosted | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.20.1