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)
-   -   Jailed users cannot access /log (http://www.howtoforge.com/forums/showthread.php?t=59530)

halsafar 13th November 2012 04:32

Jailed users cannot access /log
 
I am using ISPCONFIG 3.0.4.6.

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 04:58

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

So clearly a bug somewhere?

till 13th November 2012 10: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 17: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 17:47

Yes, please add it to the bugtracker.

itanium 16th November 2012 17:55

Task FS#2541 added :)


All times are GMT +2. The time now is 16:34.

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