X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 	tests=AWL,BAYES_00,FORGED_HOTMAIL_RCVD2,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <49495E2B.8090502@hotmail.com>
Date: Wed, 17 Dec 2008 15:16:43 -0500
From: Matt Rice <citrusmoose@hotmail.com>
User-Agent: Thunderbird 2.0.0.18 (X11/20081125)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Setup.exe (v2.609) Primary Group Problem
References: <49402BC3.7050800@hotmail.com> <4948F8F6.6040004@hotmail.com>  <20081217134729.GO6830@calimero.vinschen.de> <49494E93.4080601@hotmail.com> <COL102-W45AEF57C402C5CA4322F55B5F20@phx.gbl>
In-Reply-To: <COL102-W45AEF57C402C5CA4322F55B5F20@phx.gbl>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

Karl M wrote:
>> Date: Wed, 17 Dec 2008 14:10:11 -0500
>> To: cygwin@cygwin.com
>> Subject: Re: Setup.exe (v2.609) Primary Group Problem
>>
>> Corinna Vinschen wrote:
>>>> 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
>>>
>> That's what I'm doing now, but that means I have to chgrp every time packages 
>> are installed or updated. One package isn't really a problem, but doing this 
>> for many packages is. I have to know all file paths associated with every 
>> installed/updated package and chgrp( -R) on all of them (which can be time 
>> consuming). Even using -R sometimes won't do because some subdirectories' 
>> groups would need to remain.
>>
>> Would adding cmd line arguments for user/group to setup.exe be possible?
>>
>> - Matt
>  
> I have used a script like the attached for years, after each time I run setup.
> The extra x permissions do no harm and save a lot of work.
>  
> ...Karl
> 

Yes, writing a script for this would probably be my next move if there isn't an 
easier option.  I have a lot of specially permissioned files which is why I'm 
reluctant to do one now.  Although the script wouldn't be difficult, keeping 
track of those special files would be a pain (especially for all the ones 
somewhere under /usr).  Thanks for providing a template though.

- Matt

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

