Re: problems with ChrootDirectory



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