diff options
author | Fanch | 2018-11-27 00:01:53 +0100 |
---|---|---|
committer | Fanch | 2018-11-27 00:01:53 +0100 |
commit | dd2a9546625203b306f99daad38e6e36e07cc7db (patch) | |
tree | 2e27d13b2e648f138d85c9e0195751c2eb0a3b08 /chevereto.perm.sh | |
download | aur-dd2a9546625203b306f99daad38e6e36e07cc7db.tar.gz |
Update Version
Diffstat (limited to 'chevereto.perm.sh')
-rw-r--r-- | chevereto.perm.sh | 9 |
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}/ |