mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-15 19:17:43 -07:00
fix for chattr
This commit is contained in:
parent
d1ee9b8d1a
commit
601cc77383
2 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,9 @@ rebuild_user_conf() {
|
|||
chmod u-w /etc/shadow
|
||||
|
||||
# Building directory tree
|
||||
if [ -e "$HOMEDIR/$user/conf" ]; then
|
||||
chattr -i $HOMEDIR/$user/conf
|
||||
fi
|
||||
mkdir -p $HOMEDIR/$user/conf
|
||||
chmod a+x $HOMEDIR/$user
|
||||
chmod a+x $HOMEDIR/$user/conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue