diff options
author | jlam <jlam> | 2001-11-22 04:27:47 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-11-22 04:27:47 +0000 |
commit | 22837970083a2b89d134da3aed361a24f6453d82 (patch) | |
tree | 1d0e34535ea491a1d6e6b51e2a2cee2706eba68c /x11/kdebase2 | |
parent | 8a2887264175bba1b25ad82230a04ebd47924d15 (diff) | |
download | pkgsrc-22837970083a2b89d134da3aed361a24f6453d82.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/Makefile | 9 |
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 |