delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/11/18:40:51

X-Spam-Check-By: sourceware.org
Date: Fri, 11 Aug 2006 18:40:28 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Linda Walsh <cygwin AT tlinx DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: group "name" for numberic value 2**32-1?
In-Reply-To: <44DCFF7C.5000406@tlinx.org>
Message-ID: <Pine.GSO.4.63.0608111836170.13215@access1.cims.nyu.edu>
References: <44DCFF7C DOT 5000406 AT tlinx DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Fri, 11 Aug 2006, Linda Walsh wrote:

> I ran into a weird "symptom" -- not a bug in anything as near
> as I can tell, just a weirdness.
>
> Everyone once in a while, when I do an "ls -l" on some groups
> of files, I'll see a "group" of ??????.  With "ls -ln", I see
> the group has a value "4294967295".

<http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids>

> Would it be misleading or incorrect to insert an entry in
> /etc/group (maybe in mkgroup) mapping that value to "nogroup"?

There may be a legitimate group named "nogroup".  Besides, what's wrong
with "????????" (it's actually 8 question marks)?

> If we insert such things "manually", would it be useful if
> "mkgroup" (and maybe mkpasswd) had some option to "merge"
> non-conflicting entries into their output, or would that
> undesirable for some reason?

As someone who had to add non-Windows groups to /etc/group from time to
time, I'd say it would be a useful capability, but that would require
mkgroup to read /etc/group rather than just dumping groups to standard
output...  You might be better off creating a merge_group tool of some
sort that does the merge for you (i.e., call "mkgroup | merge_group
/etc/group" instead of "mkgroup > /etc/group").  Again,
<http://cygwin.com/acronyms/#PTC>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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