https://bugs.documentfoundation.org/show_bug.cgi?id=170330
--- Comment #4 from [email protected] --- SOLVED Uninstall all libreoffice .deb packages via apt apt list |grep instal|grep libreoffice apt remove libreoffice +++all other libreoffice packages Install libreoffice via snap snap install libreoffice Now, you will have to switch your user temp files to /home/user[id]/temp otherwise your snap libreoffice will not open attachmenst from another applications (thunderbird etc) #https://askubuntu.com/questions/1046890/libreoffice-cant-access-tmp-files-in-18-04 Check where is your current temporary directory: echo $TMPDIR or mktemp -u It should something look like: /tmp/tmp.zrBHbp0Yt0 Edit the file /etc/profile sudo gedit /etc/profile Append the following code: if [[ -O /home/$USER/tmp && -d /home/$USER/tmp ]]; then TMPDIR=/home/$USER/tmp else # You may wish to remove this line, it is there in case # a user has put a file 'tmp' in there directory or a rm -rf /home/$USER/tmp 2> /dev/null mkdir -p /home/$USER/tmp TMPDIR=$(mktemp -d /home/$USER/tmp/XXXX) fi TMP=$TMPDIR TEMP=$TMPDIR export TMPDIR TMP TEMP Reboot Check if your temporary directory has been reassigned to your /home/user/ directory echo $TMPDIR This time, the return should be something like: /home/user/tmp/nrXo , showing that the temp directory has been reassigned. -- You are receiving this mail because: You are the assignee for the bug.
