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 852 - kdesu - files get written to user's ~ owned by root
Summary: kdesu - files get written to user's ~ owned by root
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: Other Debian Squeeze
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-02-09 06:49 CST by David Hare
Modified: 2012-02-25 00:36 CST (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Update STARTKDE -> STARTTDE (755 bytes, patch)
2012-02-19 01:11 CST, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Hare 2012-02-09 06:49:42 CST
When tde first runs in a new install, using kdesu on some apps may create config files (or directories) if they don't yet exist, in the user's "~/.trinity". These files are then owned by root. When that app is later run as user, there are errors because the config file is unwritable.

This is noticed with kwrite and the clock, possibly others and reproducable on multiple machines

The workaround is <chown -R /home/user/.trinity>

This has to be done one time (per app that causes the problem) after which it does not re-occur, except new entries may go in RecentDocuments, owned by root.

This affects Debian users who do not want global sudo enabled (and did not happen with KDE 3.5.9) Most TDE users seem to use sudo so maybe not noticed this. It is possibly related to bug #393 (and #394 which is actually marked fixed but kdesu problems remain, e.g. gksu crashes dcopserver)
Comment 1 David Hare 2012-02-09 18:47:09 CST
The patches described at http://bugs.trinitydesktop.org/show_bug.cgi?id=675 "startkde (starttde) needs updating" solves all kdesu issues just fine here.

What doesn't work so well is publicity for such patches, Desktop usability is the reason we are all here, ability to use a root text editor is a priority.
Comment 2 Darrell 2012-02-19 01:11:06 CST
Created attachment 401 [details]
Update STARTKDE -> STARTTDE

Looks like this bug can be closed as resolved but before then I'll use this bug report to submit a chintzy patch that updates the CMakeLists.txt from STARTKDE -> STARTTDE. :)
Comment 3 Darrell 2012-02-25 00:36:43 CST
Patch merged in GIT hash 324c251aafe36a1c94410bde2f4f09ad07bd33be.