Re: umask package policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-05-22 at 12:13 -1000, Warren Togami wrote:

> Should we make it a packaging policy that packages must own all 
> directories and files that it installs in order to avoid umask 077 
> problems like this where the installed software is effectively broken?

+1, although I thought that already is a policy at least in Extras.  But
not _all_ directories it installs, only those that are not owned by its
prerequisite packages.

> Also the latter bug is %post creates files with umask 077, leading to 
> similar breakage.  Should then the rule be "use umask within %post if it 
> creates files?"

I think it would be simpler and cleaner to have rpm execute all
scriptlets with let's say a 022 umask, and make that umask value
configurable in eg. /usr/lib/rpm(/$vendor)/macros.

> Can rpmdiff check for this in the future?

Are you referring to the rpmdiff distributed with rpmlint, or something
else?


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux