delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/17/03:43:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 17 Aug 2009 09:43:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin-1.7 and 'None' [was Nobody] group
Message-ID: <20090817074310.GO32408@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4A8883AA DOT 9070206 AT alice DOT it>
MIME-Version: 1.0
In-Reply-To: <4A8883AA.9070206@alice.it>
User-Agent: Mutt/1.5.19 (2009-02-20)
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 Aug 17 00:09, Angelo Graziosi wrote:
> Gulp! In this context, the translation of 'Nessuno' should be 'None' and  
> NOT 'Nobody' :-(
>
> I resend correcting, for the sake of completeness... :-)
>
>
> -------- Messaggio Originale  --------
> Oggetto: Cygwin-1.7 and 'Nobody' group
>
>
> Usually, installing Cygwin, the file /etc/passwd contains things like:
>
> ...
> Administrator:unused_by_nt/2000/xp:500:513...
> pippo:unused_by_nt/2000/xp:1006:513...
> Guest:unused_by_nt/2000/xp:501:513
> ...
>
> so that 'ls -lrt' shows many files like this:
>
>    -rw-r--r-- 1 pippo None 5858 Jul 28 17:04 emoticon.txt
>
> To 'avoid' seeing 'None', the strategy I have applied has been to change
>
> 513 --> 544 for Administrator
> 513 --> 545 for pippo
> 513 --> 546 for Guest
>
> (using the informations from /etc/group...)
>
> Now, on Cygwin-1.7, with the default /etc/passwd and /etc/group, I see,
> as administrator, many files like
>
>    -rw-r--r-- 1 Administrator root 5858 Jul 28 17:04 foo.txt
>
> which looks right, and many files like
>
>    -rw-r--r-- 1 Administrator None 5858 Jul 28 17:04 foo.txt

Which is right as well.  After all these years I was sure that now
everyone was aware of the fact that the group "None" or whatever it's
called in other languages is not a bug in Cygwin, but an actual Windows
group.  The group is a local machine group with the RID 513.  The full
SID should be in your /etc/group file since an entry for this group gets
created by `mkgroup -l'.

If you don't like the name of the group, just change the name to
something you like more in /etc/group.  Better you don't give it the
same name as another group, otherwise you'll never know which group the
file is really owned by, unless you call `ls -ln'.


Corinna

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

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

- Raw text -


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