jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] is not a directory


From: Olivier Sessink
Subject: Re: [Jailkit-users] is not a directory
Date: Thu, 07 May 2009 21:51:15 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Alex wrote:
> Log reads:  May  6 20:07:06 OfficeSLES jk_chrootsh[9123]: abort, path
> /home/chrootusers/./home/<user name> is not a directory

can you stat the directory and post the results?

$ stat /home/chrootusers/./home/<user name>

are you sure there is no space or something else in the passwd file? Is
the path on a local disk or NFS share?

>  
> 
> But the directories are there.
> 
>  
> 
> address@hidden:/home
> 
> # ls
> 
> <user name>  chrootusers
> 
> address@hidden:/home
> 
> # cd /home/chrootusers
> 
> address@hidden:/home/chrootusers
> 
> # ls
> 
> <user name>   bin  dev  etc  lib  usr

this should list home ? and in home you should have the username?

> /etc/paswd file
> 
> <user name>:x:1000:100:<full user name>:/home/chrootusers/./home/<user
> name>:/usr/sbin/jk_chrootsh

see here you have /home/<user name> in the jail, but in the listing
above you have /<user name> in the jail without the /home

Olivier




reply via email to

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