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

@ -69,6 +69,7 @@ echo "$password" | /usr/bin/passwd "$user" --stdin &>/dev/null
# Building directory tree
mkdir $HOMEDIR/$user/conf
chattr +i $HOMEDIR/$user/conf
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
mkdir $HOMEDIR/$user/conf/web