X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A5BB021.20101@cygwin.com>
Date: Mon, 13 Jul 2009 18:07:29 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Username hassles
References: <loom.20090713T123539-571@post.gmane.org> 	<h3fbai$u99$1@ger.gmane.org> <utz1gwt9t.fsf@gmail.com> 	<20090713150949.GF4505@calimero.vinschen.de> 	<87bpnoa49i.fsf@gmail.com> <4A5B8234.4020701@cygwin.com> <877hyc9tsn.fsf@gmail.com>
In-Reply-To: <877hyc9tsn.fsf@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Paul Mead wrote:
> "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com> writes:
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

>> Ownerships won't change.  You're only telling Cygwin that the name
>> to display for your user is "MEAD8998" rather than "paul".  The user
>> id (or SID in Windows) will not change (and you shouldn't change it
>> in '/etc/passwd').  This is all "details" but since you asked the
>> question, I figured the details where what you wanted. ;-)
> Thanks Larry, I'll avoid changing the file in that case.
> 
> Is there any way of dealing with this problem? 

And the problem is that you want the files installed by Cygwin's "setup.exe"
to use "paul" instead of "MEAD8998".  Yeah, that will happen because
"setup.exe" is a Windows program and is going to use the Windows SID of
the user installing it.  If you prefer "paul" to be used, you need to do
one of two things:

   1. Remove the "MEAD8998" user from your '/etc/passwd'.  It's presumably
      before the "paul" user in the file and has the same SID.

   2. "chmod -R paul / /usr/bin /usr/lib"

If "MEAD8998" and "paul" exist in your '/etc/passwd' file and share the
same SID, use (1).  Otherwise, use (2).

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

