mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
improving conf directory permissions
This commit is contained in:
parent
b5f52c1545
commit
b0481bd4e7
3 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue