Subject: Re: chmod: was [Re: (non)install packages as root?]
To: None <netbsd-help@netbsd.org>
From: Soren Jacobsen <soren@blef.org>
List: netbsd-help
Date: 04/30/2003 12:12:47
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.