When attempting to start evolution (version mail-client/evolution-3.46.3-r1),
the mail client attempts to start and then quits with the message:
evolution:3204): dbind-WARNING **: 13:38:20.811: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
(evolution-alarm-notify:3211): dbind-WARNING **: 13:38:21.024: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied
bwrap: Can't find source path /root/.cache/at-spi: Permission denied
When setting /root and /root/.cache/at-spi to a=xwr (which I obviously don't want to for long), then evolution starts.
The behavior appears in kernel 4.19.277-gentoo and 6.1.19-gentoo
Are you attempting to run evolution as root?
No, I run evolution as a standard user, not as root. I tried it also with another user account, same thing. I have no idea why evolution wants to store data under /root/.cache/at-spi
Is XDG_CACHE_HOME set in the environment?
XDG_CACHE_HOME has not been set. It also isn't in my older gentoo machines where evolution is running.
I tried to set XDG_CACHE_HOME to /home/username/.cache but it did not help