improving conf directory permissions

This commit is contained in:
Serghey Rodin 2013-03-20 20:36:47 +02:00
commit b0481bd4e7
3 changed files with 3 additions and 0 deletions

View file

@ -65,6 +65,7 @@ chmod a+x $HOMEDIR/$user
chmod a+x $HOMEDIR/$user/conf
chown $user:$user $HOMEDIR/$user
chown root:root $HOMEDIR/$user/conf
chattr +i $HOMEDIR/$user/conf
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
mkdir -p $HOMEDIR/$user/conf/web