Re: problems with ChrootDirectory

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

 



--- On Thu, 7/10/08, Greg Wooledge <wooledg@xxxxxxxxxxx> wrote:

> On Wed, Jul 09, 2008 at 02:41:11PM -0700, Joseph Spenner
> wrote:
> > The sshd log has an entry:
> > Jul  9 21:31:12 happybox sshd[8741]: [ID 800047
> local5.crit] fatal: bad ownership or modes for chroot
> directory "/space/storage/jsmith"
> > 
> > The permissions of /space/storage/jsmith seem ok:
> > 
> > drwxr-xr-x   3 jsmith   other        512 Jul  9 21:19
> jsmith
> 
> Check the permissions of EVERY directory leading up to it,
> as well.
> 
> ls -ld / /space /space/storage /space/storage/jsmith

The current permissions of above directories:

drwxr-xr-x  25 root     root        1024 Mar 17 18:15 /
drwxr-xr-x  15 root     root         512 Jul  8 20:01 /space
drwxr-xr-x   5 root     other        512 Jul 10 18:57 /space/storage
drwxr-xr-x   3 root     other        512 Jul  9 21:19 /space/storage/jsmith

(the last directory initially was owned by jsmith, but I read somewhere that all directories should be owned by root.  But the result of both scenarios was the same)




      

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux