Commit ffce44e7 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6124-jailkit-cron-set-group-on-home-dir' into 'develop'

Resolve "jailkit cron: set group on home dir"

Closes #6124

See merge request ispconfig/ispconfig3!1460
parents 9811bb23 f424031f
......@@ -339,10 +339,11 @@ class cron_jailkit_plugin {
if(!is_dir($this->parent_domain['document_root'].$jailkit_chroot_userhome)) {
$app->system->mkdir($this->parent_domain['document_root'].$jailkit_chroot_userhome, 0750, true);
$app->system->chown($this->parent_domain['document_root'].$jailkit_chroot_userhome, $this->parent_domain['system_user']);
$app->system->chgrp($this->parent_domain['document_root'].$jailkit_chroot_userhome, $this->parent_domain['system_group']);
}
$app->system->chown($this->parent_domain['document_root'].$jailkit_chroot_userhome, $this->parent_domain['system_user']);
$app->system->chgrp($this->parent_domain['document_root'].$jailkit_chroot_userhome, $this->parent_domain['system_group']);
}
function _get_home_dir($username)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment