dolphin not able to save bookmarks after using "open as root" option

Bug #136458 reported by mikkael
This bug report is a duplicate of:  Bug #155032: kdesu ownership change. Edit Remove
26
Affects Status Importance Assigned to Milestone
dolphin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dolphin

after using the option "open as root" in dolphin a error massage appears each time i close dolphin:

"Unable to save bookmarks in /home/michael/.kde/share/apps/d3lphin/bookmarks.xml. Reported error was: Permission denied. This error message will only be shown once. The cause of the error needs to be fixed as quickly as possible, which is most likely a full hard drive."

deleting the files bookmarks.xml and bookmarks.bak solves this problem.

the permisson of bookmarks.xml is set to root after using the "open as root" option.

Revision history for this message
Christophe Olinger (olingerc) wrote :

I can confirm this on my kubuntu gutsy tribe 5 install. Changing ownership of bookmarks.xml manualy solves the problem but only until you open dolphin with kdesu again.

Changed in dolphin:
status: New → Confirmed
Revision history for this message
Risto Välimäki (risto-valimaki) wrote :

I can confirm this too (Kubuntu Gutsy Tribe 5).

Revision history for this message
Risto Välimäki (risto-valimaki) wrote :

I forgot to mention I was using 'sudo dolphin' if that somehow differs from 'kdesu dolphin' or 'open as root' (which is most likely same as 'kdesu dolphin').

Revision history for this message
Saurus (saurus) wrote :

I can confirm this bug on my Kubuntu tribe 6 too.

Revision history for this message
Saurus (saurus) wrote :

I'm sorry... I'm using Gutsy Gibbon Tribe 5 too. Not 6...

Revision history for this message
Hans Bakker (hansmbakker) wrote :

I'm getting this error to on a completely up to date (21-9-2007) gutsy system. I think that this bug is a duplicate of https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/138174

Revision history for this message
firstc624 (firstc624) wrote :

these two bugs are similar, but the other one isn;t being run as root. just a regular user

Revision history for this message
Jonathan Duddington (jonsd) wrote :

I can conform this bug is still present in Kubuntu 7.10 Beta.
After I have once used "open as root", then every time I use and close Dolphin, then I get this error message.

This is a serious problem for a non-expert user since
- The error message is persistent and frequent.
- It's warning is severe (although incorrect).
- It prevents any further setting of Dolphin bookmarks.
- It can only be corrected by removing a file from a hidden directory: /home/myuser/.kde/share/apps/d3lphin/bookmarks.xml

The problem could be reduced if Dolphin only writes to the bookmarks.xml file when bookmarks are changed. Or it could be fixed if Dolphin preserved the owner of bookmarks.xml when it changes it.

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

Confirmed in Kubuntu Gutsy Beta 32 bit (packages updated daily)

Revision history for this message
Motasim Sakallah (m-sakallah-deactivatedaccount) wrote :

I can confirm this is happening to me as well on an up to date system running Gutsy beta.

Revision history for this message
elyon225 (elyon225-public) wrote :

I also confirm this bug still present in Kubuntu 7.10 Beta (up-to-date as of 10-01-07).

Using "Open as root" changes ownership of the bookmarks.xml file to "root."

Two temporary workarounds:

  1) Open a terminal and manually change ownership of the file back to the user
  2) Delete the bookmarks.xml file (although this also removes any custom bookmarks you've created).

Revision history for this message
usr (usrlp-deactivatedaccount-deactivatedaccount) wrote :

This bug persist in Kubuntu 7.10 Beta.

Revision history for this message
Mario Di Nicola (warp99) wrote :

Can confirm still exists in 7.10 Beta (x64).

Revision history for this message
Tom.S (tom-s-2007) wrote :

issue remains in 7.10 RC as of 10/16/07

Revision history for this message
vista killer (vistakiller) wrote :

I have the same problem in 7.10 RC

Revision history for this message
TheGZeus (gzeusmants) wrote :

Add me to the list of people with this problem...
Is there a fix? A chmod or something?

Revision history for this message
TheGZeus (gzeusmants) wrote :

Ignore me, I'm blind, apparently...

Revision history for this message
simarillion (simarillion) wrote :

issue remains in 7.10 RC 32 bit

Revision history for this message
mobiusNZ (mobiusnz) wrote :

What's the status on this issue? I'm still finding it with 7.10 final.

By the way, the quick fix is to run the command "sudo chmod [user]:[user] ~/.kde/share/apps/d3lphin/*" (replace [user] with your username)

Revision history for this message
mobiusNZ (mobiusnz) wrote :

... er sorry, i meant "sudo chown [user]:[user]..."

Revision history for this message
Giuseppe Santillo (santillogiuseppe) wrote :

Same for me...without being root, Kubuntu 7.10 Beta

Revision history for this message
sirwitti (sirwitti) wrote :

same here on Kubuntu 7.10 Final

Revision history for this message
Manolis (polemidis) wrote :

Same for me. Kubuntu 7.10 Final

Revision history for this message
Alli (alzeih) wrote :

Also same for me. Kubuntu 7.10 Final.

Revision history for this message
robotphood (robotphood) wrote :

Same. Kubuntu 7.10 Final

Revision history for this message
sirwitti (sirwitti) wrote :

hi again!
i just saw that someone marked this as duplicate (which seems true).
the problem is kdesu or sudo not dolphin. but just read the bug report to which this one is duplicate: https://bugs.launchpad.net/bugs/155032

btw, there's a temporary workaround (not a good one, but better than nothing for now):
remove the kdesu package (until theres an updated version):
sudo apt-get remove kdesu

someone posted a (unofficial) fixed version of kdesu, so this might be another option.
we can hope that this will be fixed soon i guess.
have fun, witti

Revision history for this message
libertyernie (libertyernie) wrote : Re: [Bug 136458] Re: dolphin not able to save bookmarks after using "open as root" option

It's kdesudo you need to remove or update, actually.

On 10/22/07, sirwitti <email address hidden> wrote:
> *** This bug is a duplicate of bug 155032 ***
> https://bugs.launchpad.net/bugs/155032
>
> hi again!
> i just saw that someone marked this as duplicate (which seems true).
> the problem is kdesu or sudo not dolphin. but just read the bug report to which this one is duplicate: https://bugs.launchpad.net/bugs/155032
>
> btw, there's a temporary workaround (not a good one, but better than nothing for now):
> remove the kdesu package (until theres an updated version):
> sudo apt-get remove kdesu
>
> someone posted a (unofficial) fixed version of kdesu, so this might be another option.
> we can hope that this will be fixed soon i guess.
> have fun, witti
>
> --
> dolphin not able to save bookmarks after using "open as root" option
> https://bugs.launchpad.net/bugs/136458
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (via bug 155032).
>

Revision history for this message
sirwitti (sirwitti) wrote :

ups, you're right. due to bug report https://bugs.launchpad.net/bugs/155032 kdesudo seems to be the problem.

but interesting is anyway that i removed kdesu yesterday and right after that it (dolphin) worked fine.
now i tried to install kdesu again just for fun) and apt-get says that there is no install candidate for kdesu. i dont know why.
so i installed kdesudo and there it is again.
but thanks maybeway36 for the correction.
have fun, witti

Revision history for this message
A.K.Karthikeyan (mindaslab) wrote :

I confirm this bug on 24th October 2007

Revision history for this message
DirkP (highbeta) wrote :

I confirm this too. on Kubuntu 7.10 Final

Revision history for this message
Thomas Beyer (tb-beyercenter) wrote :

Hey: do someone read this:
due to bug report https://bugs.launchpad.net/bugs/155032 kdesudo seems to be the problem.
Its not a bug of Dolphin !!!!!!!

Revision history for this message
Terence Simpson (tsimpson) wrote :

That's why it says "This report is a duplicate of bug #155032" at the top of the bug report page

Revision history for this message
Sid (siddhus) wrote :

I confirm this too. on Kubuntu 7.10 Final

Revision history for this message
Slingshot (slingshot) wrote :

I confirm this
and I temp fixed it by

cd /home
 sudo chown -R username:username username (where username is you username, ofcourse :)

Revision history for this message
Bob Willson (jeremywillson) wrote :

I uninstalled kdesudo and then ran dolphin in a terminal as root

sudo dolphin

On exiting dolphin I did not get a bookmarks error.

I then reinstalled kdesudo and reran dolphin .. the error is back again.

It is 6 months since this little bug was first reported and it is still not properly fixed. Ah well, thanks for all you are doing anyways.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.