From 07d37a4a8ef21fa8b5e899f72b53835fbdb88352 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Wed, 8 Feb 2023 21:41:53 +0100 Subject: [PATCH] account root should be owned by root, #6462 --- server/plugins-available/shelluser_base_plugin.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php index 2fc4f0dfc7..07c069c33b 100755 --- a/server/plugins-available/shelluser_base_plugin.inc.php +++ b/server/plugins-available/shelluser_base_plugin.inc.php @@ -147,9 +147,8 @@ class shelluser_base_plugin { } } - $app->system->chown($data['new']['dir'],$data['new']['username'],false); - $app->system->chgrp($data['new']['dir'],$data['new']['pgroup'],false); - + $app->system->chown($data['new']['dir'], 'root', false); + $app->system->chgrp($data['new']['dir'], 'root', false); // call the ssh-rsa update function $app->uses("getconf"); -- GitLab