usage of defattr

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

 



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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux