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