Web lists-archives.com

RE: [EXTERNAL] Re: Issues hiding /dev virtual directory from SFTP users


They are not able to see the cygdrive.  They are able to see the /dev virtual directory and all of the device mounts within it.



-----Original Message-----
From: Andrey Repin [mailto:anrdaemon@xxxxxxxxx] 
Sent: Monday, November 27, 2017 7:00 PM
To: Northrop, Shad <snorthrop@xxxxxxxx>; cygwin@xxxxxxxxxx
Subject: [EXTERNAL] Re: Issues hiding /dev virtual directory from SFTP users

Greetings, snorthrop@xxxxxxxx!

> Hello,

> I am trying to get sftp secured using OpenSSH.  I have been able to jail
> the users to their home directory and remove the cygdrive virtual directory
> from showing but I have been unable to get the /dev virtual directory
> removed from the users when they SFTP.  In the past I have been able to just
> add "/dev /null none bind" to the fstab file but that no longer works.

> Can anyone suggest how I may be able to accomplish this with CYGWIN_NT-6.3 and openssh 7.6p 1-1 ?

If you jail the user to their home directory, they shouldn't be able to see
the Cygwin root in first place.
I don't understand your issue.

With best regards,
Andrey Repin
Tuesday, November 28, 2017 02:58:54

Sorry for my terrible english...

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple