delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/27/10:14:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 27 Jun 2005 10:13:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Peter Green <P DOT J DOT Green AT bristol DOT ac DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: group IDs
In-Reply-To: <42C00777.3090702@bristol.ac.uk>
Message-ID: <Pine.GSO.4.61.0506271006290.10029@slinky.cs.nyu.edu>
References: <42C00777 DOT 3090702 AT bristol DOT ac DOT uk>
MIME-Version: 1.0

On Mon, 27 Jun 2005, Peter Green wrote:

> I am new to the list - apologies if this has
> all been sorted out before, but I couldn't find the
> solution.
>
> Files I create from within Cygwin (e.g. by touch or the output of gcc)
> have numerical group ID 10545, while those created in Windows
> applications (e.g. Thunderbird, Notetab) get group ID 4294967295.
> 'mkgroup' gives 'Users' the ID of 545.
> This is confusing me, and giving me problems accessing my own file s-
> how do I get all these IDs to agree?

10545 is usually "Domain Users" (the domain user and group ids are offset
by 10000 by default).  545 is local "Users".  4294967295 is really "-1" --
see <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids> for an
explanation.  "getfacl" (or NT's "cacls") should give you the actual
owner/group.

To get the domain groups into /etc/group, use "mkgroup -d >> /etc/group"
(warning -- may take a *long* time in large domains).  You can give the
"-g" flag to mkgroup to extract specific domain groups.  Similarly, for
domain users, use "mkpasswd -d >> /etc/passwd" (same warning applies).
See "man mkpasswd" and "man mkgroup" for more information.

> I am running XP professional, version 2002, sp2
> I downloaded Cygwin on 23 June 2005.

See <http://cygwin.com/problems.html> for guidelines on including relevant
information in your problem reports.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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