Copying my findings from the Github issue associated to this:
I’ve found the issue. The prctl()
call in src/core/Bootstrap.cpp
causes the files in /proc/[pid]/
to become owned by root
, preventing the portals from using this folder to inspect the sandbox internals.
Assuming there’s still a desire for it, I’d propose:
- Patching out this function call if the
$SNAP
variable is detected (or however else might be suitable, since I think KeepassXC does have some flags somewhere that could be more specific). - Removing the
home
interface fromsnapcraft.yaml
, since the portals would deprecate it.