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

Re: Package umask issues



Tom Lane wrote:
Warren Togami <wtogami 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 redhat com


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