Subject: Re: pkg_add and default umask
To: Jeremy C. Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 04/09/2004 19:58:18
On Fri, 9 Apr 2004 10:45:39 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> I should learn my lesson, but I have done it again: installed over 100
> packages with umask 0077.
> 
> So any created directories, many symlinks and some files have rwx------
> permissions. Ouch. (It took a while to clean up over 900 files.)
> 
> Is there any reason not force a sane umask value with pkg_add?

And while we are at this... should bsd.pkg.mk enfore it, too, during 'make
install'?  (We could add a variable containing the umask value, in case the
user/admin wants to override it from mk.conf).

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/