Le vendredi 16 février 2007 à 10:11 +0200, Panu Matilainen a écrit :
> - %defattr(-,root,root,-) or %defattr(-,root,root,0755)
Heh, actually this last one item (cause of no-end stupid mistakes) has
actually already been fixed in RPM while we weren't looking. In
/usr/share/doc/rpm-*/CHANGES:
4.3.3 -> 4.4:
...
- silently add default %defattr(-,root,root) for all packages.
...
And that indeed seems to be the case. One check-item less in the package
review procedure.
Barf, I'd have preferred %defattr(0644,root,root,0755), making the
decision to trust upstream permissions (and assigning them to root) an
explicit choice.
--
Nicolas Mailhot