office permission all permissions are set

I was having the error described on this question Fatal Error: The application cannot be started. [context=“shared”] caught unexpected com.sun.star.ucb.InteractiveAugmentedIOException.
So I un-installed and reinstalled libreoffice.

Now I’m getting the error described on this question office permission. When I check the permissions on the different folders I see they are all right.

$ ls -l
drwxr-xr-x 1 artis artis    2 feb 15 15:35 libreoffice

$ tree -afipug libreoffice
libreoffice
[drwx------ artis    artis   ]  libreoffice/4
[drwxr-xr-x artis    artis   ]  libreoffice/4/user
[drwxr-xr-x artis    artis   ]  libreoffice/4/user/autotext
[drwxr-xr-x artis    artis   ]  libreoffice/4/user/config
[-rwxr-xr-x artis    artis   ]  libreoffice/4/user/config/javasettings_Linux_X86_64.xml
[drwxr-xr-x artis    artis   ]  libreoffice/4/user/extensions

5 directories, 1 file

If I remove the whole folder hierarchy and open libreoffice again it’s all created again. So it clearly has write permissions.

The version I currently have installed is LibreOffice 5.4.4.2 40m0(Build:2).

Edit: After some days fighting with my computer I found out following:

  • If I use a different user account everything wokrs fine.
  • If I run libreoffice with this command soffice -env:UserInstallation=file:///tmp/test it also works

I’ve done everything that came into my mind to the .config/libreoffice folder and sub-folders and files with no success.