Bug 119324 - chdir (cd) fails when starting from certain symbolic links
Summary: chdir (cd) fails when starting from certain symbolic links
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 02:45 UTC by billmoss@acm.org
Modified: 2019-06-08 02:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description billmoss@acm.org 2018-08-17 02:45:31 UTC
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
Comment 1 Julien Nabet 2018-08-17 07:03:00 UTC
Rene: thought you might be interested in this one since it concerns Debian.
(I'm not at home to give it a try with Debian testing)
Comment 2 Xisco Faulí 2018-10-18 11:06:00 UTC
Could you please paste the info from Help - about LibreOffice ? I'm wondering if it's related to bug 119381...

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 3 QA Administrators 2019-05-08 18:20:17 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-06-08 02:55:12 UTC
Dear billmoss@acm.org,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp