usage of defattr

Domen Vrankar domen.vrankar at
Fri Jan 9 23:37:29 UTC 2015


I came across this
( forum post
and started wondering if defattr deprecated
or at least advisable not to use it

Is using attr in front of each file the preferred way of writing spec files?
Are there any reasons why you should not change defattr from
%defattr(-,root,root,-) to for eg %defattr(700,foo,bar,700) when you
want only a certain user/group to use content of a certain rpm?


More information about the Rpm-list mailing list