on upgrade files in $HOME are owned by root so alacarte dies

Bug #97460 reported by Michael
34
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: alacarte

Using Feisty beta, alacarte will not save new menu entrties to any folder. Also tried sudo alacarte and that does not save either. No error messages given.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Can you give a list of steps to reproduce the problem?

Changed in alacarte:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Rajeev Nair (rajeev) wrote :

HI

I too have the same problem .
Also it does not appear under accessories .

I have to do sudo alacarte to access it but it does not add any entries

Also right click on main menu > edit menus does nothing

Revision history for this message
Rajeev Nair (rajeev) wrote :

 If i type alacarte without sudo this is what it says

rajeev@rajeev-desktop:~$ alacarte
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 36, in <module>
    main()
  File "/usr/bin/alacarte", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/lib/python2.5/site-packages/Alacarte/MainWindow.py", line 49, in __init__
    self.editor = MenuEditor()
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 59, in __loadMenus
    self.save(True)
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 63, in save
    fd = open(getattr(self, menu).path, 'w')
IOError: [Errno 13] Permission denied: '/home/rajeev/.config/menus/applications.menu'
rajeev@rajeev-desktop:~$

Revision history for this message
Rajeev Nair (rajeev) wrote :

OK

I have an update

i changed ownership of files in my home directory in hidden

.local/share/applications and .config/menus

changed ownership to myself rather than root .

Works fine now . Is that how its supposed to be??

regards

rajeev

Changed in alacarte:
status: Needs Info → Confirmed
Revision history for this message
robrichard (robrichard87) wrote :

I had the same problem. Alacarte would not open unless run as root. Changing ownership to the directories mentioned above solved the problem.

Revision history for this message
colinb4987 (thebucksstop) wrote : RE: [Bug 97460] Re: on upgrade files in $HOME are owned by root soalacarte dies

That's great, fixes the problem with no hassles.
Cheers
C

----Original Message Follows----
From: robrichard <email address hidden>
Reply-To: Bug 97460 <email address hidden>
To: <email address hidden>
Subject: [Bug 97460] Re: on upgrade files in $HOME are owned by root
soalacarte dies
Date: Tue, 17 Apr 2007 21:40:54 -0000

I had the same problem. Alacarte would not open unless run as root.
Changing ownership to the directories mentioned above solved the
problem.

--
on upgrade files in $HOME are owned by root so alacarte dies
https://bugs.launchpad.net/bugs/97460
You received this bug notification because you are a direct subscriber
of a duplicate bug.

_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile.
http://www.msn.txt4content.com/

Revision history for this message
Michael Vogt (mvo) wrote :

This is not a bug in update-notifier (it never runs as root). I reassign back to alacarte.

Revision history for this message
Travis Watkins (amaranth) wrote :

Not sure what you expect alacarte to do about this.

Revision history for this message
Michael (mike984) wrote :

This behaviour has been corrected for some time and this bug should be closed.

Changed in alacarte:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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