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