X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fadd_apache_site.sh;h=57b5d519be85af004ec2f17bcae60036bc25a2c8;hb=b7188fb75f87d5c455a48852ce742c8e3150ce7a;hp=30ff1f50a7585056430b24733d12462aa12e6d27;hpb=185c9030a042e1e274c3b6af307dace6ada968e4;p=feisty_meow.git diff --git a/scripts/system/add_apache_site.sh b/scripts/system/add_apache_site.sh index 30ff1f50..57b5d519 100644 --- a/scripts/system/add_apache_site.sh +++ b/scripts/system/add_apache_site.sh @@ -66,6 +66,9 @@ function write_apache_config() Include /etc/apache2/conf-library/rewrite-enabling.conf " >"$site_config" + + chown "$(logname):$(logname)" "$site_config" + test_or_die "setting ownership on: $site_config" } # turns on the config file we create above for apache.