[Rpm-maint] Bug: rpm should set a fixed umask of 0022 before running pre-/post scripts
mls at suse.de
Wed May 28 10:37:26 UTC 2008
On Wed, May 28, 2008 at 01:03:13PM +0300, Panu Matilainen wrote:
> Rpm 18.104.22.168 and newer sets umask to 0022 on initialization, so it is
> already "fixed" upstream. Not that 0022 is a magic universally
> absolutely correct value for umask, it's just what most things (scriptlets
> notably) expect.
Actually I do not agree with the fix. At least SUSE's scriptlets
tend to restart daemons if an update is installed, with this
change the new processes will have an umask that is different
from the system's configuration.
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
More information about the Rpm-maint