Bug 78646 - Rebuilding kdelibs rpm changes permissions of /usr/bin/kpac_dhcp_helper
Summary: Rebuilding kdelibs rpm changes permissions of /usr/bin/kpac_dhcp_helper
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdelibs
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-26 21:48 UTC by Mike McLean
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-11-26 21:48:37 UTC
Embargoed:


Attachments (Terms of Use)

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.


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