Re: umask package policy

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

 



On Mon, 2005-05-23 at 23:11 +0200, Enrico Scholz wrote:
> wtogami@xxxxxxxxxx (Warren Togami) writes:
> 
> >>> 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.
> 
> Exactly; and to nitpick: simple 'Requires:' do not suffice, but
> 'Requires(pre):' (and Requires(postun): ones) are needed.

Using context marked dependencies like Requires(pre) to "solve" this is
abuse, please don't do that.  Plain Requires is fine as long as there
are no dependency loops involved.

If there are dependency loops, most bets are off anyway.  OTOH, I'm told
the win-over-Requires magic of PreReq got added back to FC4 rpm, it
could be useful in some dep loop cases.
http://rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html#S3-RPM-DEPEND-FINE-GRAINED


[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