Bug 78646

Summary: Rebuilding kdelibs rpm changes permissions of /usr/bin/kpac_dhcp_helper
Product: [Retired] Red Hat Linux Reporter: Mike McLean <mikem>
Component: kdelibsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-26 21:48:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mike McLean 2002-11-26 21:48:31 UTC
* kdelibs-3.0.3-8
* rpm-4.1-1.06

If you rebuild the kdelibs rpm in 8.0, something in the process changes the
permissions of /usr/bin/kpac_dhcp_helper to be suid root (which it is not normally).

I know that one should be careful building rpms as root,  but that I also think
that packages should build as cleanly as possible.  Also, we don't exactly make
it easy for customers to build rpms as nonroot.  The default setup leans heavily
towards building as root in /usr/src/redhat.

kio/misc/kpac/Makefile.am contains:
install-exec-local:
        @(chown root $(bindir)/kpac_dhcp_helper && chmod 4755
$(bindir)/kpac_dhcp_helper) || echo "Please make kpac_dhcp_helper setuid root"

Comment 1 Ngo Than 2002-11-30 19:34:51 UTC
It's fixed in 3.1-0.1 or newer. It's still in 8.0.1-kde tree, which will be
moved to 8.0.1 soon.