summarylogtreecommitdiffstats
path: root/leed.perm.sh
blob: 5c46360ccab07265222f99db21b62180bcae650e (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 -exec chmod 0640 {} \;
find ${leed_path}/ -type d -exec chmod 0750 {} \;
chown -R ${htuser}:${htgroup} ${leed_path}/