This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: POSIX permission mapping and NULL SIDs
- From: Bill Zissimopoulos <billziss at navimatics dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 24 Jun 2016 23:03:21 +0000
- Subject: Re: POSIX permission mapping and NULL SIDs
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp dot mailfrom=billziss at navimatics dot com;
- References: <D392BA70 dot 95D4%billziss at navimatics dot com> <20160624195144 dot GB27089 at calimero dot vinschen dot de> <D392F074 dot 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 dot 9684%billziss at navimatics dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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