Bug 3699

Summary: SRPM can't be rebuilt as non-root
Product: [Retired] Red Hat Linux Reporter: kenneth_porter
Component: sendmailAssignee: Florian La Roche <laroche>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: enrico.scholz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: ftp://ftp.kempf.com/pub/redhat/redhat-6.0/SRPMS/SRPMS/sendmail-8.9.3-10.src.rpm
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-31 16:46:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description kenneth_porter 1999-06-24 07:47:32 UTC
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-29 02:26:59 UTC
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 16:46:59 UTC
fixed in sendmail-8.9.3-13, in the next Raw Hide release.