umask package policy

Warren Togami wtogami at redhat.com
Sun May 22 22:26:28 UTC 2005


Jesse Keating wrote:
> On Sun, 2005-05-22 at 12:13 -1000, Warren Togami wrote:
> 
>>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?"
>>
>>Can rpmdiff check for this in the future?
> 
> 
> Or force the use of %{_install} if you're going to install files by
> hand, as you then specify the permissions they should be.
> 

This doesn't quite work when %post creates files as the result of some 
arbitrary command.  It is almost never cp there.

Warren Togami
wtogami at redhat.com




More information about the Fedora-maintainers mailing list