Bug 3699 - SRPM can't be rebuilt as non-root
SRPM can't be rebuilt as non-root
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
ftp://ftp.kempf.com/pub/redhat/redhat...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-24 03:47 EDT by kenneth_porter
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-31 12:46:32 EDT
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 kenneth_porter 1999-06-24 03:47:32 EDT
The install phase of the build executes the
command "make DESTDIR=$RPM_BUILD_ROOT
install -C src/$OBJDIR". This attempts to
set owner and group on a file in the
RPM_BUILD_ROOT, which is not permitted for
an ordinary user. Setting owner and group
should be done by an %attr directive in the
files list.

I would prefer to build SRPMS without root
privilege, as I don't want to kill my
production system with a bug in a spec file.

I would suggest that all Red Hat SRPMS be
test-built by a lowly user to verify that
root privilige is not needed.
Comment 1 kenneth_porter 1999-06-28 22:26:59 EDT
This bug was originally submitted with the
component set to "sendmail", as the
sendmail-8.9.3-10.src.rpm package was the one where
the problem was observed.This bug was originally submitted with the
component set to "sendmail", as the
sendmail-8.9.3-10.src.rpm package was the one where
the problem was observed.
Comment 2 Bill Nottingham 1999-08-31 12:46:59 EDT
fixed in sendmail-8.9.3-13, in the next Raw Hide release.

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