a sftp user can enter into a directory which he does not have rights

2013-05-21 Thread Jiri B
I'm very surprised to see something like this. Comparing with normal unix filesystem, 'sftpuser' would not even enter such directory. Is this OK? * sftpuser has only group 'sftpuser' $ sftp sftpuser@localhost Connected to localhost. sftp cd / sftp ls -l drwxr-xr-x2 00

Re: a sftp user can enter into a directory which he does not have rights

2013-05-21 Thread Philip Guenther
On Tue, May 21, 2013 at 12:52 PM, Jiri B ji...@devio.us wrote: I'm very surprised to see something like this. Comparing with normal unix filesystem, 'sftpuser' would not even enter such directory. Really. $ ls -l total 8 drwx-x 2 2000 2000 512 May 21 12:57 foo $ id

Re: a sftp user can enter into a directory which he does not have rights

2013-05-21 Thread Eugene Yunak
On 21 May 2013 22:52, Jiri B ji...@devio.us wrote: I'm very surprised to see something like this. Comparing with normal unix filesystem, 'sftpuser' would not even enter such directory. Is this OK? * sftpuser has only group 'sftpuser' $ sftp sftpuser@localhost Connected to localhost. sftp

Re: a sftp user can enter into a directory which he does not have rights

2013-05-21 Thread Jiri B
On Tue, May 21, 2013 at 12:59:55PM -0700, Philip Guenther wrote: On Tue, May 21, 2013 at 12:52 PM, Jiri B ji...@devio.us wrote: I'm very surprised to see something like this. Comparing with normal unix filesystem, 'sftpuser' would not even enter such directory. Really. $ ls -l