diff --git a/server/plugins-available/cron_jailkit_plugin.inc.php b/server/plugins-available/cron_jailkit_plugin.inc.php index b8a75221f4dd0c4d8167d64f0df750128bb9e147..2e5f06eea5e51c60004eb45200d9beb1589f4b49 100644 --- a/server/plugins-available/cron_jailkit_plugin.inc.php +++ b/server/plugins-available/cron_jailkit_plugin.inc.php @@ -291,8 +291,8 @@ class cron_jailkit_plugin { $this->app->log("Added jailkit user to chroot with command: ".$command,LOGLEVEL_DEBUG); mkdir(escapeshellcmd($this->parent_domain['document_root'].$jailkit_chroot_userhome), 0755, true); - chown(escapeshellcmd($this->parent_domain['document_root'].$jailkit_chroot_userhome, escapeshellcmd($this->parent_domain['system_user'])); - chgrp(escapeshellcmd($this->parent_domain['document_root'].$jailkit_chroot_userhome, escapeshellcmd($this->parent_domain['system_group'])); + chown(escapeshellcmd($this->parent_domain['document_root'].$jailkit_chroot_userhome), escapeshellcmd($this->parent_domain['system_user'])); + chgrp(escapeshellcmd($this->parent_domain['document_root'].$jailkit_chroot_userhome), escapeshellcmd($this->parent_domain['system_group'])); }