Evolution switch to flatpak , start error

HI All
I switched Evolution from Ubuntu to flatpak source, but when I try start flatpk evolution I get the following error, ‘error: opendir(/): Permission denied’.
2 questions ; why is Evo trying to open the root directory,
How do I get more debug information
Thanks
GC

Hi,
I’m afraid it’s something with the Flatpak, not with the Evolution as
such. Evolution does not read the root directory.

I suppose you installed the Flatpak version of the Evolution from
the flathub.org , that version is verified by many users. Does any
other app from there suffer of a similar problem, please? I would try
something smaller, for example:

   flatpak install flathub org.gnome.Calendar
   flatpak run org.gnome.Calendar

The man flatpak suggests to use -vv to get more verbose debugging
from it, thus:

   flatpak -vv run org.gnome.Evolution

may or may not help, it depends where precisely the error comes from.

Bye,
Milan

Hi Milan

Quick update

The ‘-vv’ worked a charm , there seems to be an issue with my sound configuration, pipewire and pulseaudio

“F: Pulseaudio user configuration file ‘/home/gc/.config/pulse/client.conf’: Error opening file /home/gc/.config/pulse/client.conf: No such file or directory
error: opendir(/): Permission denied”

In the process of resolving.

Thanks again
GC

Hi
I was able to resolve the pulseaudio issue, but the opendir(/) is still there,
last 3 lines from the start cmd
F: Allowing wayland access
F: Allowing pulseaudio access
error: opendir(/): Permission denied

I also did the flatpak calendar install u mentioned , when start , same issue
F: Will ensure existence of directory: /home/gc
F: Converting FlatpakExports to bwrap arguments…
F: “/home/gc” is meant to be a directory
F: Ensuring “/home/gc” is created as a directory
F: “/home/gc/.local/share/flatpak” is meant to be a tmpfs or empty directory
F: Parent of “/home/gc/.local/share/flatpak” is not mapped, creating empty directory
F: “/home/gc/.var/app” is meant to be a tmpfs or empty directory
F: Parent of “/home/gc/.var/app” is not mapped, creating empty directory
F: “/home/gc/.var/app/org.gnome.Calendar” is meant to be shared (ro or rw) with the container
F: Allowing wayland access
error: opendir(/): Permission denied

any other debug options ?
Thanks

Hi,
I’m not aware of anything else, flatpak is not my field of expertise. I
suggest to ask in their support forum instead.
Bye,
Milan

hi
for completeness , after a long session with chatgpt, it turns out the issues is related to Understanding AppArmor User Namespace Restriction - Security - Ubuntu Community Hub
now to work out how to fix.
Thanks