summarylogtreecommitdiffstats
path: root/chevereto.perm.sh
diff options
context:
space:
mode:
authorFanch2018-11-27 00:01:53 +0100
committerFanch2018-11-27 00:01:53 +0100
commitdd2a9546625203b306f99daad38e6e36e07cc7db (patch)
tree2e27d13b2e648f138d85c9e0195751c2eb0a3b08 /chevereto.perm.sh
downloadaur-dd2a9546625203b306f99daad38e6e36e07cc7db.tar.gz
Update Version
Diffstat (limited to 'chevereto.perm.sh')
-rw-r--r--chevereto.perm.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/chevereto.perm.sh b/chevereto.perm.sh
new file mode 100644
index 000000000000..cbdb6794cb48
--- /dev/null
+++ b/chevereto.perm.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+chevereto_path='/usr/share/webapps/chevereto'
+htuser='http'
+htgroup='http'
+
+find ${chevereto_path}/ -type f -print0 | xargs -0 chmod 0640
+find ${chevereto_path}/ -type d -print0 | xargs -0 chmod 0750
+chown -R ${htuser}:${htgroup} ${chevereto_path}/