I installed 220.127.116.11 on a CentOS 7 x86_64 box using a non-root user ‘pubsw’ I use for 3rd party software installs.
From the LibreOffice_18.104.22.168_Linux_x86-64_rpm extracted directory I ran
./install RPMS /usr/pubsw/packages/LibreOffice/22.214.171.124
/usr/pubsw is a NFS exported volume mounted on our 300+ Linux workstation site.
Everything seemed to install fine with no errors and as ‘pubsw’ I was able to run soffice just fine. However trying to run soffice as any other user resulted in
[Java framework] Error in function NodeJava::writeSettings (elements.cxx). javaldx failed! Warning: failed to read path from javaldx
on the console and a popup about fatal error with every little info complaining about access problems. Looking at the installed error I eventually found a “UserInstallation” directory that had no group/other read permissions. I ran ‘chmod 755’ on it and on trying to run soffice again as another user got a different error message that explicitly complained about permissions in “UserInstallation” (wish the first error had said this). I then ran ‘chmod -R go+rX UserInstallation’ and then all users could finally run soffice.
So the install script seems to have a bug in how it creates this “UserInstallation” directory.
Still, randomly (seems to happen on some hosts but no others) I will still see on the terminal the error
I/O error : Permission denied I/O error : Permission denied [Java framework] Error in function NodeJava::writeSettings (elements.cxx). javaldx failed! Warning: failed to read path from javaldx
though the program seems to run fine after. Doing an strace I see this happens when it tries to do
[pid 15391] open("/usr/pubsw/packages/LibreOffice/126.96.36.199/opt/libreoffice5.4/program/../../UserInstallation/user/config/javasettings_Linux_X86_64.xml", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
Why is soffice trying to write to this file in the installed area where no user should be writing?