Package umask issues

Warren Togami wtogami at redhat.com
Fri Jul 8 23:45:47 UTC 2005


Tom Lane wrote:
> Warren Togami <wtogami at redhat.com> writes:
> 
>>Tom 'spot' Callaway wrote:
>>
>>>I'm inclined to add:
>>>
>>>MUST: Packages should not create files in %post. All files should be
>>>accounted for in %files.
> 
> 
>>That isn't going to be easy to fix for all software.  It is desired though.
> 
> 
> Would it work in such cases for the %post routine to just fill in the
> contents of a file that was created (as empty, say) in the regular file
> list?
> 
> 			regards, tom lane
> 

If it preserves the file permissions (by modifying?) then yes.  If it 
deletes and recreates the file, it will still be affected by the umask 
problem.

Warren Togami
wtogami at redhat.com




More information about the Fedora-maintainers mailing list