public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: <snorthrop@moog.com>
To: <cygwin@cygwin.com>
Subject: RE: [EXTERNAL] Re: Issues hiding /dev virtual directory from SFTP users
Date: Tue, 28 Nov 2017 12:50:00 -0000	[thread overview]
Message-ID: <2512145081DA00479295CF769D4C8F350128B364F1@BNVMMSX0A61086A.polysci.com> (raw)
In-Reply-To: <84854143.20171128025948@yandex.ru>

Andrey,

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.

Regards,

Shad 


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

Greetings, snorthrop@moog.com!

> 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

  reply	other threads:[~2017-11-28 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27 21:22 snorthrop
2017-11-28  0:05 ` Andrey Repin
2017-11-28 12:50   ` snorthrop [this message]
2017-11-28 14:27     ` [EXTERNAL] " Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2512145081DA00479295CF769D4C8F350128B364F1@BNVMMSX0A61086A.polysci.com \
    --to=snorthrop@moog.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).