X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=t7AA9dBEx6+iEt1LKSQmCNMSK7iGMvjCOjaaIapqYI7Pd1s9fKQn+ MQKgqOYa2DodoPDTVkEgLD70jYirO8xoCSVb4WK08sAON1TnmQisXvCsrG+nymON TfV7E5Kl03jb4lNNZqs26Bsz2Jbk4grhYRiCa+cav9bCasZmmbseCo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=QXTQe9NhzqtApt04K4B1AZd8OR0=; b=gpOire5EAmjfnilNGV2UQ+JytHE9 rpYUnygv9WOWsPTjCq+C2qk5N0khKjyLNkLX69YwT0aAu1i2ATZSKkit71110Oaq G0BhN3zm1+PsuhbCZiPjK7tEmgpX6wONCPNMmwIJ9XjaRQqxwN0q2pAsCBOvxYs+ w2BPQSmt082ZdMY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-93.6 required=5.0 tests=AWL,BAYES_05,CYGWIN_OWNER_BODY,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=billzissnavimaticscom, D*navimatics.com, billziss AT navimatics DOT com, 197121 X-HELO: calimero.vinschen.de Date: Mon, 27 Jun 2016 12:29:08 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: POSIX permission mapping and NULL SIDs Message-ID: <20160627102908.GB8258@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20160624195144 DOT GB27089 AT calimero DOT vinschen DOT de> <20160624215948 DOT GD27089 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) --CdrF4e02JqNVZeln Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 24 23:03, Bill Zissimopoulos wrote: > On 6/24/16, 3:53 PM, "cygwin-owner AT cygwin DOT com on behalf of Bill > Zissimopoulos" billziss AT navimatics DOT com> wrote: >=20 >=20 > >One caveat is that Cygwin already maps S-1-5-7 to uid 7. So does that me= an > >that 7=3D=3Dnobody in Cygwin=E2=80=99s case? >=20 > Here is output from Cygwin/SSHFS after mapping =E2=80=9Cnobody/nogroup=E2= =80=9D to S-1-5-7: > << > billziss AT windows:~$ cd /cygdrive/y > billziss AT windows:/cygdrive/y$ ls -la > total 8 > drwxr-xr-x 1 billziss ANONYMOUS LOGON 0 Jun 23 23:57 . > dr-xr-xr-x 1 billziss None 0 Jun 24 15:56 .. > -rw-r--r-- 1 billziss ANONYMOUS LOGON 15 Jun 23 23:57 Foo.txt > billziss AT windows:/cygdrive/y$ cacls Foo.txt /S > Y:\Foo.txt=20 > "D:P(A;;0x1f019f;;;S-1-5-21-383059176-2062642591-2866287538-1001)(A;;FR;;= ;A > N)(A;;FR;;;WD)" >=20 > billziss AT windows:/cygdrive/y$ ls -lna > total 8 > drwxr-xr-x 1 197609 7 0 Jun 23 23:57 . > dr-xr-xr-x 1 197609 197121 0 Jun 24 15:58 .. > -rw-r--r-- 1 197609 7 15 Jun 23 23:57 Foo.txt > billziss AT windows:/cygdrive/y$ >=20 > >> >=20 >=20 > Opinions? Let's better not use anonymous. It could be a security risk. It might not do harm, but it also might give unwanted access rights in some scenarios. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --CdrF4e02JqNVZeln Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXcP/0AAoJEPU2Bp2uRE+gIZMP/i68Gzd0Ev7n/i3xxhvG/3+Z 19AVxbq4IzdK+AbsGO+Dcufc8zqpVIsn0Chico/BoVr4IuNDw8AF/2a82L5ARyIS rWtFgDrofxX4AtnMZtBLdVnPq9hsUoZuagveACyblwBe01nTdmVpCF990SX3hcBY ebCRcCt5z6dR19W5D57nKl2YaNH2vs+E5UY9gyBIHw/UNq9uFfLnJmR9//PKKaCo MYykTjCgIDvKn/phHbPLZYlqLmSrMNw0SkKsSAUW0zoJWJ3ecPOQhtm2H7kHqoRZ G4kHHYPaQzfLV1eHJpoZj1lNFG3IGHY13fmkGiapt/rJ010sAcR/N+CC5H6ikKiu vlC7HwAgJ0sG6U18BueoSKTNdfD5icI3J103IuC2SA2lybpMFnuDy4U7ZKiVhjz4 Jaq6SN3f8FGNj2WhFLkO+nmAZTY3qJGLpLVHcKGHd2XZWbVKUUcJQTcLNTQuMvFi ZDTMrAI4ci3Yom8LGwe84OdqzrlgB03thQrRrpqg9WcrnhNNcsuqTM5oT95y0ow7 Y0Aw+cNMGeYn/isDZC+39ncJ9+XDSBd2b8NQjpL2TGX3uZGtt1C758eWKlm+Qq4s DWor7PRYPv8QnLU+yI1uzpKUikUcO32xbjaHIrgDAwaPYyMTORRo1t8Utcx0nMCZ QaXK2K4z+5zGJdC+mESG =FHPy -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln--