delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/24/19:03:55

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=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 AT navimatics DOT com, billzissnavimaticscom, D*navimatics.com, H*f:sk:CACoZoo
X-HELO: na01-bl2-obe.outbound.protection.outlook.com
From: Bill Zissimopoulos <billziss AT navimatics DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT navimatics DOT com> <20160624195144 DOT GB27089 AT calimero DOT vinschen DOT de> <D392F074.962E%billziss AT navimatics DOT com> <20160624215948 DOT GD27089 AT calimero DOT vinschen DOT de> <CACoZoo3xsGPqiEXzAXHVjsG_hrO6Sd-thTPh3RC_0i==rPgCKw AT mail DOT gmail DOT com> <D39302CC.9684%billziss AT navimatics DOT com>
In-Reply-To: <D39302CC.9684%billziss@navimatics.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=billziss AT navimatics DOT 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 AT BN4PR07MB2193 DOT namprd07 DOT prod DOT outlook DOT 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
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
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u5ON3o7A007347

On 6/24/16, 3:53 PM, "cygwin-owner AT cygwin DOT com on behalf of Bill
Zissimopoulos" <cygwin-owner AT cygwin DOT com on behalf of
billziss AT navimatics DOT 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 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 
"D:P(A;;0x1f019f;;;S-1-5-21-383059176-2062642591-2866287538-1001)(A;;FR;;;A
N)(A;;FR;;;WD)"

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$

>>


Opinions?

Bill


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019