From: bigmike160 Date: Sun, 7 Oct 2007 19:21:39 +0000 (+0000) Subject: create-user: Initial attempt at creating DAV lock directories X-Git-Url: http://git.hcoop.net/clinton/scripts.git/commitdiff_plain/2c556c0c801c8b81a44931b05fd03782f74e8600 create-user: Initial attempt at creating DAV lock directories I still need a day or so to test this, to make sure the permissions will work. If the DAV module is as picky as its docs say it is, we might need to chgrp it to www-data and make the dir writable by the www-data group. --- diff --git a/create-user b/create-user index b01cbc6..87d56ec 100755 --- a/create-user +++ b/create-user @@ -221,3 +221,12 @@ vos syncvldb deleuze # refresh volume location cache (takes ~2hrs otherwise) fs checkvolumes ssh mire.hcoop.net fs checkvolumes + +# +# Files and directories on deleuze +# + +# make per-user apache DAV lock directory +sudo mkdir -p /var/lock/apache2/dav/$USER +sudo chown $USER:nogroup /var/lock/apache2/dav/$USER +sudo chmod u=rwx,go= /var/lock/apache2/dav/$USER