[Libreoffice-bugs] [Bug 119324] New: chdir (cd) fails when starting from certain symbolic links
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 17 02:45:31 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119324
Bug ID: 119324
Summary: chdir (cd) fails when starting from certain symbolic
links
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: billmoss at acm.org
When Libreoffice installs, a symbolic link is created from /usr/bin/libreoffice
to /usr/lib/libreoffice/program/soffice. This works fine. However, Debian
stretch and Devuan ASCII both created an additional link,
/usr/bin/X11/libreoffice. This link does not work due to how the back end
script handles the symbolic link that is $0. I simply replaced the funky loop
that resolves the symlink with
if false
then
original loop
else
sd_res="$( readlink -e "$sd_res" )"
fi
I could have simplified it even further but a four line change allows me to
quickly alter the script in the future. To make things even more secure, I
mv soffice soffice.def
The modified script was named soffice.mod
ln -s soffice.mod soffice
--
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/libreoffice-bugs/attachments/20180817/f1e5591a/attachment.html>
More information about the Libreoffice-bugs
mailing list