[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: umask package policy
- From: Ville Skyttä <ville skytta iki fi>
- To: fedora-maintainers redhat com
- Subject: Re: umask package policy
- Date: Mon, 23 May 2005 20:32:35 +0300
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?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]