Das gute alte set_permissions Script. Sollte endlich auch mal ins unstable.
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 23 Dec 2008 12:17:31 +0000 (12:17 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 23 Dec 2008 12:17:31 +0000 (12:17 +0000)
scripts/set_permissions.sh [new file with mode: 0755]

diff --git a/scripts/set_permissions.sh b/scripts/set_permissions.sh
new file mode 100755 (executable)
index 0000000..4214bef
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+webuser='www-data'
+
+setfacl -R -m u:$webuser:rwx users templates spool webdav
+setfacl -R -d -m u:$webuser:rwx users templates spool webdav