[Portland-bugs] [Bug 35794] New: Don't overwrite a /usr/share/applications/defaults.list symlink
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 30 04:04:04 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=35794
Summary: Don't overwrite a
/usr/share/applications/defaults.list symlink
Product: Portland
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: martin.pitt at ubuntu.com
Original bug: https://bugs.launchpad.net/bugs/703106
Debian's and Ubuntu's 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.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list