Re: Package umask issues

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

 



Tom Lane wrote:
Warren Togami <wtogami@xxxxxxxxxx> 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@xxxxxxxxxx


[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