Open johnwuelk opened 1 month ago
Unlike apt version Flatpak is sandboxed and doesn't have access to /tmp. If you want to use /tmp then you needs to give it access manually (there is flatseal tool that allows to do that easily.
This is duplicate of https://github.com/flathub/org.libreoffice.LibreOffice/issues/138
Thanks for the tip with flatseal
, but I'm using a bash script which is a more convenient solution for my workflow as I'm opening files from the nnn
file manager and do pretty much everything with it.
Sorry for postitng the duplicate issue.
The Flatpak Libre Office version is unable to open a file from the /tmp directory but the basic version (from apt) is able to do so. Although the /tmp folder has 777 permissions set and the file has 664, I don't understand why and how the Flatpak LO (installed as system) cannot access tmp.
Fails:
flatpak run org.libreoffice.LibreOffice --calc /tmp/file.ods
Current workaround (simply copy the file to a different location that flatpak can access):
mkdir -p ~/Downloads/tmp
cp /tmp/file.ods ~/Downloads/tmp/
flatpak run org.libreoffice.LibreOffice --calc ~/Downloads/tmp/file.ods