usage of defattr
Domen Vrankar
domen.vrankar at gmail.com
Fri Jan 9 23:37:29 UTC 2015
Hello,
I came across this
(http://www.pclinuxos.com/forum/index.php?topic=117505.0) forum post
and started wondering if defattr deprecated
(http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html)
or at least advisable not to use it
(https://wiki.mageia.org/en/Packagers_RPM_tutorial)?
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?
Thanks,
Domen
More information about the Rpm-list
mailing list