fix apache2 davlockdb path in chowns master
authorClinton Ebadi <clinton@hcoop.net>
Wed, 8 Apr 2020 23:48:03 +0000 (19:48 -0400)
committerClinton Ebadi <clinton@hcoop.net>
Wed, 8 Apr 2020 23:48:03 +0000 (19:48 -0400)
lib/create-user-lib.sh

index 999f9bc..e810a25 100644 (file)
@@ -254,8 +254,8 @@ function create_dav_locks () {
     # Make per-user apache DAV lock directory -- the directory must be
     # both user and group-writable, which is silly.
     execute_on_web_nodes sudo mkdir -p /var/local/domtool/apache2/dav/$NEWUSER
-    execute_on_web_nodes sudo chown $NEWUSER:www-data /var/lock/apache2/dav/$NEWUSER
-    execute_on_web_nodes sudo chmod ug=rwx,o= /var/lock/apache2/dav/$NEWUSER
+    execute_on_web_nodes sudo chown $NEWUSER:www-data /var/local/domtool/apache2/dav/$NEWUSER
+    execute_on_web_nodes sudo chmod ug=rwx,o= /var/local/domtool/apache2/dav/$NEWUSER
 }
 
 function setup_user_databases () {