delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B8DB0C7.2000403@gmail.com> |
Date: | Wed, 03 Mar 2010 00:43:51 +0000 |
From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
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> <4B8C48EE DOT 5040006 AT wesbarris DOT com> |
In-Reply-To: | <4B8C48EE.5040006@wesbarris.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 |
On 01/03/2010 23:08, Wes Barris wrote: > 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? Hi Wes, The right thing to do is to leave your uid/gid in the way that mkpasswd and mkgrp choose, because that gives the cygwin dll the information it needs to link them back to your actual user account in the windows OS permissions. The other right thing to do is to then figure out what's going wrong with your W: drive, and why the perms on it are wrong. Is this some kind of network drive, by any chance? 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |