On Tue, 26 Jan 2016 10:48:28 +0200, Ville Skyttä wrote: > On Tue, Jan 26, 2016 at 9:35 AM, Petr Pisar <ppisar@xxxxxxxxxx> wrote: > > This can bring bugs because, as noted in the orignal message, some > > people use to change wrong permissions coming from %install section. > > Can you give a concrete example where doing this actually accomplishes > something with rpmbuild >= 4.4? I can't immediately think of one; I > don't see how "wrong permissions from %install" would end up in the > package as files with non-root user/group. AFAIU rpmbuild >= 4.4 sets > %defattr(-,root,root,-) by default and repeating immediately at start > of %files is a no-op. It refers to this bit in the original post, | or even to reset to the default after using different values, which is the case where somebody sets a _non-default_ %defattr for some lines before explicitly setting the %defattr defaults again for the remaining lines. IOW, the packager uses a custom %defattr instead of %attr or chmod in %install. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx