Subject: Re: chmod: was [Re: (non)install packages as root?]
To: None <netbsd-help@netbsd.org>
From: Timothy A. Musson <timothy.musson@zin-tech.com>
List: netbsd-help
Date: 04/30/2003 17:44:04
At 03:12 PM 4/30/03 , Soren Jacobsen wrote:
>On 04/30 11:20, Timothy A. Musson wrote:
>> At 10:27 AM 4/30/03 , Soren Jacobsen wrote:
>> 
>> >I believe that the pkgsrc tarballs contain files with a group of wsrc
>> >and they're group writable. So just add yourself to the wsrc group. Also
>> >ignore my previous message, I don't know what I was thinking. I meant
>> >chmod -R g+w /usr/pkgsrc, not 775.
>> 
>> I don't see a functional difference in the two methods (given the original
>> permissions and what they are to be changed to). What am I missing? Is the
>> "g+w" way just The Right Way to do it?
>
>g+w avoids setting the executable bit on regular files, whereas 775 will
>set it for all files, which is undesirable. We only need exec on the
>directories.

/me slaps himself on the forehead.

Thanks for clearing a befuddled mind :)

-Tim