Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 13:20:59 -0500 (EST)
From:      Brad Laue <brad@brad-x.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47645: kdebase-3.1 installs desktop templates with bad permissions
Message-ID:  <20030129182059.4471A22104E@TMA-1.brad-x.com>

next in thread | raw e-mail | index | archive | help

>Number:         47645
>Category:       ports
>Synopsis:       kdebase-3.1 installs desktop templates with bad permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 10:20:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Brad Laue
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
brad-x.com
>Environment:
System: FreeBSD TMA-1.brad-x.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Jan 8 03:52:02 EST 2003 root@TMA-1.brad-x.com:/usr/obj/usr/src/sys/DISCOVERY-IPF i386


>Description:
	All files installed in the location /usr/local/share/templates by
	the kdebase port are given 0444 permissions. This prevents KDE from 
	modifying one of these templates after it is copied into ~/Desktop 
	for the user.
>How-To-Repeat:
	Create a 'link to application' from the desktop menu and fill in
	name and execute lines. Click 'OK'.

>Fix:

--- Makefile	Tue Jan 28 13:50:34 2003
+++ /home/brad/Makefile	Wed Jan 29 13:18:09 2003
@@ -82,6 +82,7 @@
 		${WRKSRC}/kdm/kfrontend/Makefile
 	${REINPLACE_CMD} -e "s@^\s*Exec=.*\$$@Exec=ElectricEyes@" \
 		${WRKSRC}/kappfinder/apps/Graphics/ElectricEyes.desktop
+	${PERL} -pi -e "s@444@644@g" ${WRKSRC}/kdesktop/init/Templates/Makefile
 
 post-install:
 	${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030129182059.4471A22104E>