File Permissions not working in chroot environment? (SSH2 on Linux)

From: Merten Schueler (merten_s@t-online.de)
Date: 03/27/03


From: Merten Schueler <merten_s@t-online.de>
Date: Thu, 27 Mar 2003 20:37:32 +0100

Hi,

I have just installed the non-commercial version SSH2 (3.2.0) on my SuSE
Linux 8.0 Machine. I have set up a chrooted environent to allow users to
do SFTP transfers to their home dirs, using the ssh-dummy-shell.

Everything works fine, except one problem: File permissions seem to have
no effect. If I create a file as root with permissions set to 600 in the
users home dir, that user may delete it via the SFTP Client.

What am I doing wrong, is there a way to prevent this?

Greetings,

Merten