X-Git-Url: https://git.hcoop.net/hcoop/scripts.git/blobdiff_plain/c74ee81adb9637d0252b6c0a64825e6014f16cad..HEAD:/lib/create-user-lib.sh diff --git a/lib/create-user-lib.sh b/lib/create-user-lib.sh index 999f9bc..e810a25 100644 --- a/lib/create-user-lib.sh +++ b/lib/create-user-lib.sh @@ -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 () {