[Portland-bugs] [Bug 106449] New: resolving symlinks in binary_to_desktop_file can cause issues.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 9 06:51:25 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106449
Bug ID: 106449
Summary: resolving symlinks in binary_to_desktop_file can cause
issues.
Product: Portland
Version: 1.1.0
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
Assignee: portland-bugs at lists.freedesktop.org
Reporter: sflees at suse.de
this is a tough one as it maybe broken either way, but binary_to_desktop_file
currently follows symlinks of the binary file passed in, which in the case of
firefox on openSUSE ends up pointing to /usr/lib64/firefox.sh, which in turn
leads to it searching for "firefox.sh" in the desktop files which is not found.
The line in question is
binary="`readlink -f "$binary"`"
maybe this is a bug in firefox's desktop file (exec'ing a symlink rather then
the binary) but either way I thought i'd look for a second opinion on which is
more right.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20180509/5cf5c961/attachment.html>
More information about the Portland-bugs
mailing list