ChrootDirectory on a per key basis

Gert Doering gert at
Sat Oct 25 23:52:50 EST 2008


On Fri, Oct 24, 2008 at 10:18:55PM +0100, Chris Wilson wrote:
> I thought that the suid bit was a property of the directory entry, not the 
> inode? 


> On what platforms is the suid bit a property of the inode, which 
> would make this exploit possible?

On all platforms with "unix file system semantics" (read: inodes), the
directory entry only contains "name->inode", and all details, including
all permission bits, are stored in the inode.

USENET is *not* the non-clickable part of WWW!
Gert Doering - Munich, Germany                             gert at
fax: +49-89-35655025                        gert at

More information about the openssh-unix-dev mailing list