Bug 65355

Summary: [4.2]: default to %defattr(-,root,root)
Product: [Retired] Red Hat Raw Hide Reporter: R P Herrold <herrold>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: petersen
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-13 12:47:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218    

Description R P Herrold 2002-05-22 17:33:00 UTC
Per mailing list:



Date: Wed, 22 May 2002 09:21:18 -0400

From: Jeff Johnson <jbj>

Reply-To: rpm-list

To: rpm-list

Subject: [rh-rpm] Re: Making rpm default to %defattr(-,root,root)?



On Wed, May 22, 2002 at 01:55:54PM +0300, Panu Matilainen wrote:

> Hi,

> 

> Call me lazy (which I am :) but I think it'd be nice if rpm defaulted to 

> %defattr(-,root,root) in the %files section. At least I tend to forget to 

> specify that especially in subpackages (like -devel) which then leads to 

> "user foo not existing" warnings when installing the package. Afterall 

> most packages use that anyway, specifying another user in there is 

more a 

> special case than having the files owned by root.

> 



Personally, I think that making %defattr(-,root,root) the default behavior

is long overdue. Ditto



===============================

From mailing list

-- Russ Herrold

Comment 1 Jeff Johnson 2002-07-25 12:26:32 UTC
This ain't gonna happen for rpm-4.1, deferred
to rpm-4.2.

Comment 2 R P Herrold 2003-04-26 04:12:53 UTC
... or perhaps rpm-4.3 ?  <smile>

Comment 3 Jens Petersen 2003-10-27 02:52:56 UTC
I vote for this too!

Comment 4 Jeff Johnson 2004-12-13 12:47:45 UTC
This is in rpm-4.4. iirc.