Skip to content

Commit 6524493

Browse files
author
Till Brehm
committed
Merge branch '6462-root-owner' into 'develop'
account root should be owned by root, #6462 Closes #6462 See merge request ispconfig/ispconfig3!1693
2 parents 3aeea7e + 07d37a4 commit 6524493

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)