summaryrefslogtreecommitdiff
path: root/x11/kdebase2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-22 04:27:47 +0000
committerjlam <jlam@pkgsrc.org>2001-11-22 04:27:47 +0000
commitc4f674741cd9cdb37d76094bdd51c8554262b430 (patch)
tree1d0e34535ea491a1d6e6b51e2a2cee2706eba68c /x11/kdebase2
parent15d7ebf785f5ba3145195629ff5a75a5438790ac (diff)
downloadpkgsrc-c4f674741cd9cdb37d76094bdd51c8554262b430.tar.gz
Apply workaround in pkg/14674 by Mark Davies <mark@mcs.vuw.ac.nz> to deal
with setuid programs not being found unless their read bits are set.
Diffstat (limited to 'x11/kdebase2')
-rw-r--r--x11/kdebase2/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/kdebase2/Makefile b/x11/kdebase2/Makefile
index 2e828076438..d7d0711ec67 100644
--- a/x11/kdebase2/Makefile
+++ b/x11/kdebase2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2001/11/15 21:31:42 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2001/11/22 04:27:47 jlam Exp $
DISTNAME= kdebase-2.2.1
CATEGORIES= x11
@@ -70,8 +70,9 @@ post-install:
${INSTALL_DATA} ${DISTDIR}/Daemon.README \
${PREFIX}/share/doc/kde/HTML/en/kdm
- @# Several programs need to be setuid-root, so we need to remove
- @# remove read/write permissions for security reasons.
+ @# Several programs need to be setuid-root, but due to the way that
+ @# KDE2 finds executables, the files must have their read bit set,
+ @# which is a potential security risk. "Ugh".
@#
suid_progs=" \
bin/konsole_grantpty \
@@ -79,7 +80,7 @@ post-install:
bin/ksysguardd \
"; \
for prog in $${suid_progs}; do \
- ${CHMOD} 4711 ${PREFIX}/$${prog}; \
+ ${CHMOD} 4755 ${PREFIX}/$${prog}; \
done
@# The global desktop template files need to be user-writeable, or