Hi guys, I found and fix error in jailkit plugin.
Problem is if You have setup with HIGH security level, when ispconfig sets file atribute "i".
In jailkit plugin:
Code:
line 83: $app->system->web_folder_protection($web['document_root'],false);
// load the server configuration options
$app->uses("getconf");
$this->data = $data;
$this->app = $app;
$this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit');
line 91: $this->_update_website_security_level();
$this->_setup_jailkit_chroot();
on line 83 removes attr "i" from document root, but on line 91 we calling function to update security level which enables attr "i" and so setup jailkit fails.
this same error is in update method too.
I simple move line 91 before line 83 and its working now.
Recent comments
9 hours 59 min ago
16 hours 40 min ago
20 hours 31 min ago
22 hours 9 min ago
1 day 6 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 20 hours ago
2 days 49 min ago
2 days 1 hour ago