Description: When the temporary directory (and/or its files) in /tmp are gone for whatever reason, the document can no longer be saved. Libreoffice always complains with error messages, each in its own window. Steps to Reproduce: 1. open and edit some.odt 2. rm -rf /tmp/luPIDrandom1.tmp 3. trying to save changed document will complain with errors Actual Results: +-----------------------------------------------+ | Fehler beim Speichern des Dokuments some.odt: | | Kein Zugriff auf Objekt. | | Aufgrund fehlender Benutzerrechte kann auf | | das Objekt nicht zugegriffen werden. | +-----------------------------------------------+ and +---------------------------------------------------------+ | Fehler beim Speichern des Dokuments some.odt: | | /tmp/luPIDrandom1.tmp/luPIDrandom2.tmp existiert nicht. | +---------------------------------------------------------+ Expected Results: Libreoffice should save the document as it is already in memory. If in doubt, it should offer the save-file dialog to change the filename. Reproducible: Always User Profile Reset: No Additional Info: As workaround, experienced users simply do following (using example as described before): 1. mkdir /tmp/luPIDrandom1.tmp/ 2. touch /tmp/luPIDrandom1.tmp/luPIDrandom2.tmp 3. use save in libreoffice ;-) This also proofs, that there is no reason for libreoffice to bother the user with error messages, because the situation can be handled. Also, the error messages are technically wrong or incomplete which make it hard to get used to the reason. May be this bug is similar to or even the same as described in #160484
Confirm with Version: 25.2.0.1 (X86_64) / LibreOffice Community Build ID: ddb2a7ea3a8857aae619555f1a8743e430e146c9 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Created attachment 198350 [details] screenshot Screenshot showing the temporar file on the left, that is created after the temporrary files have been removed from that folder, and on the right the error I get.
I have to mentioned that first time, after I removed the temporary file, it was created again by save, and no error. The second try, I get the error.