delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/16/18:10:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4A8883AA.9070206@alice.it>
Date: Mon, 17 Aug 2009 00:09:46 +0200
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Cygwin-1.7 and 'None' [was Nobody] group
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

If, now, I adopt the above strategy (513 --> ...), the files with

    'Administrator root' change to 'Administrator Administrators'

and other remain with 'Administrator None'

Seeing the Properties with Explorer, these files have, in User and 
Group, besides Administrators and Everybody, also

    None

which does not happen with the same files in Cygwin-1.5.

So, should one lives with these 'None' in Cygwin-1.7?


Thanks,
    Angelo.


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