From: Sven Schöling Date: Tue, 23 Dec 2008 12:17:31 +0000 (+0000) Subject: Das gute alte set_permissions Script. Sollte endlich auch mal ins unstable. X-Git-Tag: release-2.6.0beta2~209 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0e8bdc235401a451c2142bed31b0918813dd44f0;p=kivitendo-erp.git Das gute alte set_permissions Script. Sollte endlich auch mal ins unstable. --- diff --git a/scripts/set_permissions.sh b/scripts/set_permissions.sh new file mode 100755 index 000000000..4214bef35 --- /dev/null +++ b/scripts/set_permissions.sh @@ -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