Bug 6458 - hdparm source RPM fails to rebuild as a non-root user (or at all?)
hdparm source RPM fails to rebuild as a non-root user (or at all?)
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: hdparm (Show other bugs)
6.1
All Linux
low Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-28 06:10 EDT by Chris Siebenmann
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-05 14:49:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Siebenmann 1999-10-28 06:10:34 EDT
The hdparm source RPM fails to rebuild, and cannot be
built as a normal user. There are two problems:

 First, the spec file doesn't use %defattr(-,root,root)
to set file permissions, but instead relies on being run
as root and using cp and worse, explicit
	install -m <blah> -o 0 -g 0 ...
which will fail for anyone who can't chown things, ie
anyone but root.

 Second, the spec file lists 'hdparm.lsm' as one of the
%doc files. As of the tarball in the source RPM, it's
instead 'hdparm-3.5.lsm'.
Comment 1 Bill Nottingham 2000-02-05 14:49:59 EST
Fixed in hdparm-3.6-3.

Note You need to log in before you can comment on or make changes to this bug.