Skip to content

Commit 07d37a4

Browse files
committed
account root should be owned by root, #6462
1 parent 7d30386 commit 07d37a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/plugins-available/shelluser_base_plugin.inc.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@ function insert($event_name, $data) {
147147
}
148148
}
149149

150-
$app->system->chown($data['new']['dir'],$data['new']['username'],false);
151-
$app->system->chgrp($data['new']['dir'],$data['new']['pgroup'],false);
152-
150+
$app->system->chown($data['new']['dir'], 'root', false);
151+
$app->system->chgrp($data['new']['dir'], 'root', false);
153152

154153
// call the ssh-rsa update function
155154
$app->uses("getconf");

0 commit comments

Comments
 (0)