A best-practice question
Valery Reznic
valery_reznic at yahoo.com
Mon Nov 26 07:53:16 UTC 2012
Preferable way to build rpm is not as root.
In this case setting files owner/group in install part is out of question, it should be done using %attr.
Permissions on the other hand I prefer to set in the %install part.
Valery
>________________________________
> From: Eran Ben Natan <eranb at celltick.com>
>To: rpm-list at lists.rpm.org
>Sent: Monday, November 26, 2012 8:55 AM
>Subject: A best-practice question
>
>
>Hello,
>
>From your experience, is it better to set files owner and mode in the install part, using the install command, or in the files part with %attr?
>
>Eran.
>_______________________________________________
>Rpm-list mailing list
>Rpm-list at lists.rpm.org
>http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20121125/8242123c/attachment.html>
More information about the Rpm-list
mailing list