summarylogtreecommitdiffstats
path: root/chevereto.perm.sh
blob: cbdb6794cb48fd7a5543245de9228809c1c340b7 (plain)
1
2
3
4
5
6
7
8
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}/