X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 29 Jul 2008 14:01:14 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problems with file permissions and cp when running on Vista
Message-ID: <20080729120114.GW29031@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <488EE777.10100@teamwpc.co.uk> <232559.49992.qm@web25004.mail.ukl.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

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/

