Public bug reported:
Binary package hint: xdg-utils
The desktop-file-utils package creates
/usr/share/applications/defaults.list as a symlink to
/etc/gnome/defaults.list. Unfortunately, the xdg-update-menu program,
when called to install a .desktop file with new mime types, overwrites
this symlink with a file. It does this by reading the defaults.list,
writing to a temporary file, making edits, then copying it back. it
doesn't notice if the defaults.list file is a symlink, and overwrites it
with a file.
A common example of this is installing google chrome. it calls xdg-
desktop-menu to install its desktop file, and the result is that
/etc/gnome/defaults.list is no longer used.
I suggest that xdg-desktop-menu should canonicalize defaults.list before
writing to it. I've attached a simple patch as an example. This patch
will apply both to the latest package in natty, as well as to Lucid,
where I'd really like this to be applied.
** Affects: xdg-utils (Ubuntu)
Importance: Undecided
Status: New
** Tags: glucid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/703106
Title:
xdg-update-menu overwrites the /usr/share/applications/defaults.list
symlink with a file.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs