HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   Jailed users cannot access /log (

halsafar 13th November 2012 05:32

Jailed users cannot access /log
I am using ISPCONFIG

I have many jailed users who have never been able to access their respective /log.

If I view the client directories /var/www/client1/web1/log as a regular user (not jailed) then the sym link /log -> /var/log/ispconfig/httpd/website/ works. If I log in as the jailed user it shows the sym link as dead, no file found.

The permissions for /var/log/ispconfig/httpd/website are web1:client1 755 for the directory.

Do I have to restart any services for a fix to take effect?

I'm at a loss, any help please and thanks.

halsafar 13th November 2012 05:58

I updated to dev build, svn update. Tools->Resync, problem solved.

So clearly a bug somewhere?

till 13th November 2012 11:35

Thats not a bug. The log directory was not acessible for ssh users in all versions prior ISPConfig 3.0.5 if jailkit is enabled as the log directory is outside of the jail. The setup has been changed in 3.0.5to use mount bind instead of a symlink so that the log directories are accessible now.

itanium 16th November 2012 18:32

Hi Till,

I have found that if you change the domain name of a website, the "mount bind" in the fstab doesn't change. So if you reboot for example the server, he will stop at the mount startup process.

Do i need to add that to the bugtracker? :)

till 16th November 2012 18:47

Yes, please add it to the bugtracker.

itanium 16th November 2012 18:55

Task FS#2541 added :)

All times are GMT +2. The time now is 10:46.

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