www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/17/08:48:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 17 Dec 2008 14:47:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Setup.exe (v2.609) Primary Group Problem
Message-ID: <20081217134729.GO6830@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <49402BC3 DOT 7050800 AT hotmail DOT com> <4948F8F6 DOT 6040004 AT hotmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4948F8F6.6040004@hotmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
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 Dec 17 08:04, Matt Rice wrote:
> Matt Rice wrote:
>> Corinna Vinschen wrote:
>>> On Dec  9 14:14, Matt Rice wrote:
>>>> My understanding was that when I ran setup.exe, new files would have
>>>> my primary group (the way I had it set up in /etc/passwd). I was eager
>>>> to try it out since the current stable version of setup.exe
>>>> (v2.573.2.3) would always use "users" as the group.  However, once I
>>>> upgraded and checked out the permissions on the updated items, they
>>>> all had a group of ???????? (-1).  Did I assume or do something wrong?
>>>
>>> Yes.  Setup.exe is a native Win32 application, not a Cygwin application.
>>> It doesn't know about the settings in /etc/passwd.  Thus it uses your
>>> primary Windows group.
>>>
>>>
>>> Corinna
>>>
>>
>> Thanks for the quick reply. I thought it would be possible for setup.exe 
>> to
>> read /etc/passwd. My user name is part of a domain so I don't have a way 
>> of
>> changing my primary group (to the local admins group anyway). Anyway, I 
>> had to
>> go back to using cygwin 1.5 anyway because of similar problem to the 
>> problem
>> from this thread (http://www.cygwin.com/ml/cygwin/2008-11/msg00083.html, 
>> save XP
>> SP3 instead of Vista). I'm guessing there's no workaround for the desired
>> install group for either 1.5 or 1.7's setup?
>>
>> - Matt
>>
> Sorry for mailing twice, I never got a response.  Is there a workaround for 
> getting the default install group to be what I want it to be?

I don't understand why a later chgrp doesn't provide what you need.


Corinna

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

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

- Raw text -


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