create-user: Initial attempt at creating DAV lock directories
authorbigmike160 <bigmike160>
Sun, 7 Oct 2007 19:21:39 +0000 (19:21 +0000)
committerbigmike160 <bigmike160>
Sun, 7 Oct 2007 19:21:39 +0000 (19:21 +0000)
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.

create-user

index b01cbc6..87d56ec 100755 (executable)
@@ -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