X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-id:content-transfer-encoding
	:mime-version; q=dns; s=default; b=UGTlw5PL/dpu+Z2t2So3aDnm15yTW
	vLxN4UZRSbqA4zSoTOojUhpCA29Ia1cdzNjbNoGQiITpfFMYweooybQWKhKAi6On
	ClG7wswodUGMGlxCT0+Cj8n+Y0ZrmQbOe+8AvE8lLKrpLFkWnRwCjSzQKza2+syX
	0+hOKqp7+OrBUI=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-id:content-transfer-encoding
	:mime-version; s=default; bh=kAbdsQ2p+gsRTao2HbfifGjqfAM=; b=Ih+
	1aZwQ6lY9b2+UxVawzgX4Gx3OQz0LCCYWI9ZnPLV20jAoz5PFO1K+qFo55ABs6u4
	X/qppjT07NFbALpPhydnMRLlasKIlSaVp/b23l2pq+vXyAtFxi3IsAmNZdgJ3rvZ
	PXe58qiNKYUbpfvejon51yiUZvi7un6OXv2Bw/sk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=billziss@navimatics.com, billzissnavimaticscom, D*navimatics.com, H*f:sk:CACoZoo
X-HELO: na01-bl2-obe.outbound.protection.outlook.com
From: Bill Zissimopoulos <billziss@navimatics.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: POSIX permission mapping and NULL SIDs
Date: Fri, 24 Jun 2016 23:03:21 +0000
Message-ID: <D3930943.96B5%billziss@navimatics.com>
References: <D392BA70.95D4%billziss@navimatics.com> <20160624195144.GB27089@calimero.vinschen.de> <D392F074.962E%billziss@navimatics.com> <20160624215948.GD27089@calimero.vinschen.de> <CACoZoo3xsGPqiEXzAXHVjsG_hrO6Sd-thTPh3RC_0i==rPgCKw@mail.gmail.com> <D39302CC.9684%billziss@navimatics.com>
In-Reply-To: <D39302CC.9684%billziss@navimatics.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=billziss@navimatics.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-office365-filtering-correlation-id: d543e038-0beb-4831-9ed7-08d39c83bd22
x-microsoft-exchange-diagnostics: 1;BN4PR07MB2193;6:Wzr1qdZFBCNgK0cXzixpgceky5kXk2JH2sSo5GXWUDB0zFerZjuyKJm+gEXStSTghrad2vIKN2Im7YcU/d/R/5X1vJ7uoYr6vac1uCGRkW4cheFrDEN4cOWqBqfqopclX5+a8SnS9ZsfMALqYhtYpLvNIJajQlcFTzc40+0gaZOF2Wu6E3JZMefXq82Tk2q9PsbLG8ArXKU2wkFlegfbkbZHzubmxFeRy5vl8n7k2NzGSJ9nrwxSsOuJBSgm1CfE8w7woTsyImB26A4t2IiU5ESWiUMBFnGwFwL0wC0S6gv0Z3Gzr/W9V32gY4Zw8EFjw138YC56KJ8rJPv0lnNDug==;5:iqLSEbmNHHXh2/6RYR0RUrBHpZQe2K9Tn4LznVjMbyipQN/nFSH4IQVN10sPVCyLpGnVCVlxdm7dBkF/T+Sblj5LUxnyZ45DxaIg6tU/L87rJvIuweJLTdlhZ3viHfSjEWXywwNlHE4odzCKjFJikg==;24:Eni89QV81aK3DHKwC7PxRASNR0VnET8Uh4m7ew5Ousc+Ww5TjrBy5NHa5mJZ3tdB2BpH5CXs7ppvRbV0iGruy0fKvfaE/6CotDxdznVILu0=;7:PNV25fQZqE+YxJRofIMIOo4HKE5HIlUElZzZbC/7pZywxZMrA518wteboomubN+AyG7yZZ1E5a2ULBCJ15XEZN8uq6V+3pAWukj4NXW6oR48p7EnXseBwPo1y/BRWmY5jb9il+gMKYf/QQt18hSngEXWmY2XGItF7gLZI/8onUIPtKeC/WRYvFvqIFENQeKnarh1b0aqWjFgEq54u2vHRbi53Uunguu5GuUPS9TKfJRWJppB5R4a1u+ap+ISI9M1Jvpw3y+3zjCF+IugiENtxQ==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN4PR07MB2193;
x-microsoft-antispam-prvs: <BN4PR07MB2193E39DB4990A9C5C56A927BC2E0@BN4PR07MB2193.namprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040130)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041072)(6043046);SRVR:BN4PR07MB2193;BCL:0;PCL:0;RULEID:;SRVR:BN4PR07MB2193;
x-forefront-prvs: 0983EAD6B2
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(199003)(377454003)(24454002)(189002)(3280700002)(101416001)(2351001)(106356001)(106116001)(5002640100001)(77096005)(36756003)(450100001)(97736004)(92566002)(2950100001)(68736007)(2906002)(19580405001)(87936001)(2900100001)(19580395003)(3660700001)(7846002)(122556002)(50986999)(81166006)(1730700003)(81156014)(76176999)(7736002)(54356999)(105586002)(66066001)(99286002)(10400500002)(93886004)(8676002)(586003)(305945005)(107886002)(2501003)(110136002)(102836003)(3846002)(6116002)(8936002)(189998001)(11100500001)(5640700001)(86362001)(94096001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN4PR07MB2193;H:BN4PR07MB2195.namprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en;
received-spf: None (protection.outlook.com: navimatics.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <C5BC1CA40E49B3459192A48155801FCE@namprd07.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: navimatics.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2016 23:03:21.6763 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 21071be9-4f9a-413b-89ac-8353a5d2410a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2193
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u5ON3o7A007347

On 6/24/16, 3:53 PM, "cygwin-owner@cygwin.com on behalf of Bill
Zissimopoulos" <cygwin-owner@cygwin.com on behalf of
billziss@navimatics.com> wrote:


>One caveat is that Cygwin already maps S-1-5-7 to uid 7. So does that mean
>that 7==nobody in Cygwin’s case?

Here is output from Cygwin/SSHFS after mapping “nobody/nogroup” to S-1-5-7:
<<
billziss@windows:~$ cd /cygdrive/y
billziss@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@windows:/cygdrive/y$ cacls Foo.txt /S
Y:\Foo.txt 
"D:P(A;;0x1f019f;;;S-1-5-21-383059176-2062642591-2866287538-1001)(A;;FR;;;A
N)(A;;FR;;;WD)"

billziss@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@windows:/cygdrive/y$

>>


Opinions?

Bill


