tbrehm
2011-09-07 d0f590848b571a9341e84ce21fff85bed6785ef6

1 files modified
4 ■■■■ changed files
server/plugins-available/cron_jailkit_plugin.inc.php 4 ●●●● patch | view | raw | blame | history
server/plugins-available/cron_jailkit_plugin.inc.php
@@ -291,8 +291,8 @@
            $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']));
            
    }