By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1821

Summary: Changing permissions of a desktop file with Trinity file managers modifies the file contents
Product: TDE Reporter: Darrell <darrella>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: critical CC: bugwatch, darrella, kb9vqf, kdevel, midenok
Priority: P1    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Darrell 2014-01-11 21:09:24 CST
This could be bad. A file manager should not be allowed to modify the contents of a file just by changing file permissions. I tested this with Trinity konqueror, dolphin, and krusader with the same result. The problem does not occur inside konsole.

Copy the following to a directory as kate.desktop:

==============
[Desktop Entry]
Exec=kate
InitialPreference=9
MimeType=
Name=kate
Terminal=false
Type=Application
==============

Notice the file size is 98 bytes.

Open konqueror and change the permissions from 644 to 600.

The file is modified immediately to the following:

==============
[Desktop Entry]
Comment=
Comment[en_US]=
Exec[$e]=kate
GenericName=
GenericName[en_US]=
InitialPreference=9
MimeType=
Name=kate
Name[en_US]=kate
Path[$e]=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-TDE-SubstituteUID=false
X-TDE-Username=
==============

I tested with non Trinity file managers: xfe and thunar. Neither modified the contents. KDE4 konqueror and dolphin also modify the contents. The bug seems to be inherent in the  KDE lineage.
Comment 1 Aleksey Midenkov 2014-05-20 03:04:53 CDT
If it does apply only to .desktop files it's not 'critical'. Should be 'minor'.
Comment 2 Darrell 2014-05-20 10:12:07 CDT
A file manager modifies the contents of a file is Minor? Not in my universe.
Comment 3 Aleksey Midenkov 2014-05-21 07:03:17 CDT
Are there in your universe even little distinction exists between different file kinds? If it is .desktop file and if it's upgrade functionality which upgrades data on unexpected event (but in fact can be feature -- sees .desktop, upgrades it). If this functionality doesn't render any of software unusable and moreover doesn't do any harm at all, then it is *minor*, not *critical*!!!

Read about Debian definition of grave (tde critical) and critical (tde blocker), it have good explanation.

https://www.debian.org/Bugs/Developer#severities
Comment 4 Darrell 2014-05-21 10:45:13 CDT
Whatever.
Comment 5 Aleksey Midenkov 2014-05-22 06:38:08 CDT
Yeah, whatever!
Comment 6 Timothy Pearson 2014-11-10 10:22:06 CST
This might be a simple aberrant trigger.  Under many circumstances TDE would be expected to update the desktop files in the manner you describe (e.g. after someone edits them), but probably not on permissions change.