Subject: Re: pkg_add and default umask
To: Jeremy C. Reed <>
From: Julio M. Merino Vidal <>
List: tech-pkg
Date: 04/09/2004 19:58:18
On Fri, 9 Apr 2004 10:45:39 -0700 (PDT)
"Jeremy C. Reed" <> 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 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 <>
The NetBSD Project -