From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48070 invoked by alias); 28 Nov 2017 12:50:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 48062 invoked by uid 89); 28 Nov 2017 12:50:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_20,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=D*yandex.ru, terrible, Repin, repin X-HELO: mx0a-00184801.pphosted.com Received: from mx0b-00184801.pphosted.com (HELO mx0a-00184801.pphosted.com) (67.231.157.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Nov 2017 12:50:31 +0000 Received: from pps.filterd (m0048153.ppops.net [127.0.0.1]) by mx0b-00184801.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vASCjpgf025668 for ; Tue, 28 Nov 2017 07:50:29 -0500 Received: from mailmcg.mcg.moog.com (mailmcg.mcg.moog.com [199.106.168.25]) by mx0b-00184801.pphosted.com with ESMTP id 2egvg51thc-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 28 Nov 2017 07:50:29 -0500 Received: from BNVMMSX0A61087D.polysci.com (10.97.8.125) by mailmcg.mcg.moog.com (10.97.8.107) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 28 Nov 2017 07:50:28 -0500 Received: from BNVMMSX0A61086A.polysci.com ([fe80::fc25:d542:3eeb:a511]) by BNVMMSX0A61087D.polysci.com ([::1]) with mapi id 14.03.0361.001; Tue, 28 Nov 2017 07:50:28 -0500 From: To: Subject: RE: [EXTERNAL] Re: Issues hiding /dev virtual directory from SFTP users Date: Tue, 28 Nov 2017 12:50:00 -0000 Message-ID: <2512145081DA00479295CF769D4C8F350128B364F1@BNVMMSX0A61086A.polysci.com> References: <2512145081DA00479295CF769D4C8F350128B3517D@BNVMMSX0A61086A.polysci.com> <84854143.20171128025948@yandex.ru> In-Reply-To: <84854143.20171128025948@yandex.ru> x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL01PT0cgKFBvQykiLCJpZCI6Ijg5M2U3NWRlLWRkZDAtNGJhNS1iMDFlLWM3NGQ4Mzg0YTg2NSIsInByb3BzIjpbeyJuIjoidGVjaERhdGEiLCJ2YWxzIjpbeyJ2YWx1ZSI6IlVua25vd24ifV19XX0sIlN1YmplY3RMYWJlbHMiOltdLCJUTUNWZXJzaW9uIjoiMTYuMi4xMS4wIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdERURkMThNUmIreXErZVRcLzVnT2ZzQnVHWm1tcFdaa1hVb3VsbUdDK3V3PSJ9 x-exclaimer-md-config: 05c4d62c-9bdd-4249-a581-e9f3cb37f4e1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-28_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711280174 X-SW-Source: 2017-11/txt/msg00271.txt.bz2 Andrey, They are not able to see the cygdrive. They are able to see the /dev virtu= al directory and all of the device mounts within it. Regards, Shad=20 -----Original Message----- From: Andrey Repin [mailto:anrdaemon@yandex.ru]=20 Sent: Monday, November 27, 2017 7:00 PM To: Northrop, Shad ; 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 directo= ry > 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 j= ust > 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. --=20 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