On 2019-01-30, Ingo Schwarze <schwarze@usta.de> wrote:
> That's a question about pkg_add(1). Simple experimentation shows that
> just like makewhatis(8), pkg_add(1) uses whatever umask it inherits.
> For most files pkg_add creates, that's fine because permissions are
> explicitly set according to packing lists. But makewhatis(8) is
> just forked and executed.
Similar has come up before - as well as mandoc.db, @sample'd files and
files in /var/db/pkg are affected by umask - the former sometimes resulting
in an unusable package installation.
>
No comments:
Post a Comment