[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] jk_chroot in a symlink

From: Jordan Tomkinson
Subject: Re: [Jailkit-users] jk_chroot in a symlink
Date: Thu, 23 Sep 2010 10:06:48 +0800

if you want to make directories outside the jail appear inside the jail, symlink is not the answer
instead look at mount --bind (man mount)
e.g mount --bind /var/www/virtual/quesite.com /home/jail/var/www/virtual

following that, permissions still need to be set correctly for the jail user on the quesite.com directory

On Tue, Sep 21, 2010 at 10:50 PM, Terry Laundos <address@hidden> wrote:
Is there a way to use jk_chrootsh in symlink?
I've try use:
ln -s /var/www/virtual/quesite.com/ /home/jail/var/www/virtual/
But when I try login get the following error:

jk_chrootsh[28092]: path /home/jail/./var/www/virtual/quesite.com is a symlink
jk_chrootsh[28092]: path /home/jail/./var/www/virtual/quesite.com is group writable
jk_chrootsh[28092]: path /home/jail/./var/www/virtual/quesite.com is writable for others
jk_chrootsh[28092]: path /home/jail/./var/www/virtual/quesite.com is not owned by user 2005
jk_chrootsh[28092]: path /home/jail/./var/www/virtual/quesite.com is not owned by group 2005
jk_chrootsh[28092]: abort, path /home/jail/./var/www/virtual/quesite.com is not a directory

someone can give me a hand?

Jailkit-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]