www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/29/08:00:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 29 Jul 2008 14:01:14 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems with file permissions and cp when running on Vista
Message-ID: <20080729120114.GW29031@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <488EE777 DOT 10100 AT teamwpc DOT co DOT uk> <232559 DOT 49992 DOT qm AT web25004 DOT mail DOT ukl DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <232559.49992.qm@web25004.mail.ukl.yahoo.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jul 29 13:48, Marco Atzeri wrote:
> --- Tom Quarendon ha scritto:
> 
> Hi Tom,
> This is more a question for the mailing list 
> 
> > 
> > > this means that "Authenticated Users" is missing
> > in
> > > your /etc/group
> > >
> > > getfacl use /etc/group to translate SID in group
> > name,
> > > but if the row is missing getfacl will ignore
> > > the unknow SID
> > >
> > > SID for NT AUTHORITY\Authenticated Users:
> > > S-1-5-11
> > >
> > >
> > >   
> > I generated the /etc/group file with
> > mkgroup -l
> > 
> > and it didn't include "Authenticated Users"
> > 
> > If I specifially do
> > mkgroup -l -g "Authenticated Users"
> > then it does output the record for that group.
> > 
> > Is that expected?
> 
> No idea, probably it is just a missing feature in 
> mkgroup.

"Authenticated Users" is not a local group, nor a builtin group.  It's
one of the so called "well known SIDs", see
http://msdn.microsoft.com/en-us/library/aa379649.aspx
These well-known SIDs are not enumerated in calls to NetGroupEnum nor
in calls to NetLocalGroupEnum.  That's why they are missing in /etc/group
in the first place.  And usually you don't need them in /etc/group.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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