summarylogtreecommitdiffstats
path: root/leed.perm.sh
diff options
context:
space:
mode:
authorFanch The System2020-04-20 16:16:04 +0200
committerFanch The System2020-04-20 16:16:04 +0200
commit741b8c01cc123dc9ee46e7eeb3b3c261f49297f4 (patch)
tree71dbbb5dee996fceb3b1e885947260c314e94a83 /leed.perm.sh
downloadaur-741b8c01cc123dc9ee46e7eeb3b3c261f49297f4.tar.gz
Update Version
Diffstat (limited to 'leed.perm.sh')
-rw-r--r--leed.perm.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/leed.perm.sh b/leed.perm.sh
new file mode 100644
index 000000000000..1ff26f8b37ff
--- /dev/null
+++ b/leed.perm.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+leed_path='/usr/share/webapps/leed'
+htuser='http'
+htgroup='http'
+
+find ${leed_path}/ -type f -print0 | xargs -0 chmod 0640
+find ${leed_path}/ -type d -print0 | xargs -0 chmod 0750
+chown -R ${htuser}:${htgroup} ${leed_path}/