Jailed users cannot access /log

Discussion in 'General' started by halsafar, Nov 13, 2012.

  1. halsafar

    halsafar New Member

    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.
  2. halsafar

    halsafar New Member

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

    So clearly a bug somewhere?
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  4. itanium

    itanium Member

    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? :)
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, please add it to the bugtracker.
  6. itanium

    itanium Member

    Task FS#2541 added :)

Share This Page