Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th October 2012, 12:36
tio289 tio289 is offline
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
Default Jailkit problems with creating/updating users

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:

line 83: $app->system->web_folder_protection($web['document_root'],false);
// load the server configuration options
$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();
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.
Independent Senior Webdeveloper
Reply With Quote
The Following User Says Thank You to tio289 For This Useful Post:
till (9th October 2012)
Sponsored Links
Old 9th October 2012, 13:00
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Thanks for the patch, I've added it to the bugtracker.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Name resolution not working for jailkit chrooted users user99 Installation/Configuration 3 11th September 2011 20:42
Allowing the use of java by ssh users (jailkit) crohakon General 0 11th June 2011 22:43
Help required in adding Domain Users to Local Powers Users group skirao Server Operation 0 28th August 2009 11:49
postfix: "unknown user" with mysql auth. Kruser Server Operation 3 18th June 2009 19:20
Cacti and ISPConfig: Monitoring Tool VMartins Tips/Tricks/Mods 11 9th August 2008 19:37

All times are GMT +2. The time now is 22:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.