delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/01/18:08:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B8C48EE.5040006@wesbarris.com>
Date: Tue, 2 Mar 2010 09:08:30 +1000
From: Wes Barris <wesb AT wesbarris DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to properly set up /etc/passwd and /etc/group
References: <4B8B4B2E DOT 1040506 AT wesbarris DOT com> <4B8C1AF8 DOT 7010701 AT gmail DOT com>
In-Reply-To: <4B8C1AF8.7010701@gmail.com>
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

Dave Korn wrote:
> On 01/03/2010 05:05, Wes Barris wrote:
> 
>> What I normally end up doing is to list the directory with the '-n'
>> option that shows me the uid and gid information (in this case
>> both are 4294967295.  I manually edit the /etc/passwd and /etc/group
>> files accordingly so that my directory listing looks like this:
>>
>> drwxrwxrwt+ 1 wes     admin   0 2010-01-10 17:13 Projects
> 
>   That suggests you set your uid and gid to 4294967295, aka -1, aka 'nobody';
> that's probably not a good thing.

Hi Dave,

I changed my uid an gid in my passwd file to 4294967295 because that
is what ls -ln showed.  If that is not a good thing to do what is
the right thing to do?

>     cheers,
>       DaveK
> 
> 
> --
> 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
> 


-- 
Wes Barris     Web: www.wesbarris.com     E-Mail: wesb AT wesbarris DOT com
--------------------------------------------------------------------
Today's fortune: Two wrongs are only the beginning.

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