Bug 47645

Summary: kdebase-3.1 installs desktop templates with bad permissions
Product: Ports & Packages Reporter: brad <brad>
Component: Individual Port(s)Assignee: Alan Eldridge <alane>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description brad 2003-01-29 18:20:01 UTC
	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'.
Comment 1 corecode@corecode.ath.cx 2003-01-29 19:31:33 UTC
Lately Brad Laue told:

> --- 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

/me screams in agony
${REINPLACE_CMD} -e 's/444/644/g' ${WRKSRC}/kdesktop/init/Templates/Makefile

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-29 20:31:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to Maintainers
Comment 3 brad 2003-01-29 20:58:58 UTC
Simon 'portlint' Schubert wrote:
> Lately Brad Laue told:
> 
> 
>>--- 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
> 
> 
> /me screams in agony
> ${REINPLACE_CMD} -e 's/444/644/g' ${WRKSRC}/kdesktop/init/Templates/Makefile
> 
> cheers
>   simon
> 

Yeargh!

I grabbed it out of the Makefile for 3.0.5, I should have noticed that 
when I made the edit. Thanks!

Brad

-- 
// -- http://www.BRAD-X.com/ -- //
Comment 4 Alan Eldridge freebsd_committer freebsd_triage 2003-01-30 00:53:27 UTC
Responsible Changed
From-To: kde->alane

i will handle this
Comment 5 Alan Eldridge freebsd_committer freebsd_triage 2003-01-30 00:58:55 UTC
State Changed
From-To: open->closed

committed