Bug 47645 - kdebase-3.1 installs desktop templates with bad permissions
Summary: kdebase-3.1 installs desktop templates with bad permissions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alan Eldridge
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 18:20 UTC by brad
Modified: 2003-01-30 00:58 UTC (History)
0 users

See Also:


Attachments
file.diff (406 bytes, patch)
2003-01-29 18:20 UTC, brad
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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