HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   jailkit + chroot cron not working (http://www.howtoforge.com/forums/showthread.php?t=53553)

e100 26th July 2011 23:32

jailkit + chroot cron not working
 
To recreate the problem:
1. create a site
2. add a chroot cron job to that site

In the auth.log see error:
Jul 24 16:31:40 web2 jk_chrootsh[32617]: abort, path /var/www/clients/client15/web30/./home/web30 does not have group owner 1012, set option 'relax_home_group' to relax this check

fix problem:
chown web30:client15 /var/www/clients/client15/web30/./home/web30

In auth.log see that issues is fixed:
Jul 24 16:40:01 web2 jk_chrootsh[398]: now entering jail /var/www/clients/client15/web30 for user web30 (1012) with arguments -c /usr/bin/wget -k ............


I think that somewhere in cron_jailkit_plugin.inc.php there should be a chown to make the permissions correct.

till 27th July 2011 11:24

Thanks for the report. I've added it to the bugtracker.

Which Linux distribution do you use and which ISPConfig version, as chrooted cronjobs work on my systems with ISPConfig 3.0.3.3


All times are GMT +2. The time now is 23:36.

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