A best-practice question

Eran Ben Natan eranb at celltick.com
Mon Nov 26 10:25:12 UTC 2012


Thanks a lot, Valery. I will do so.

 

Eran.

 

From: rpm-list-bounces at lists.rpm.org
[mailto:rpm-list-bounces at lists.rpm.org] On Behalf Of Valery Reznic
Sent: Monday, November 26, 2012 9:53 AM
To: General discussion about the RPM package manager
Subject: Re: A best-practice question

 

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
	
	



This mail was received via Mail-SeCure System.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20121126/b52e6f1d/attachment.html>


More information about the Rpm-list mailing list