Skip to content

Commit b85fb33

Browse files
committed
fix conf directory permissions
1 parent fb027fd commit b85fb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-rebuild-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ mkdir -p $HOMEDIR/$user/conf
6464
chmod a+x $HOMEDIR/$user
6565
chmod a+x $HOMEDIR/$user/conf
6666
chown $user:$user $HOMEDIR/$user
67-
chown $user:$user $HOMEDIR/$user/conf
67+
chown root:root $HOMEDIR/$user/conf
6868

6969
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
7070
mkdir -p $HOMEDIR/$user/conf/web

0 commit comments

Comments
 (0)