Using xdg-open from snap
Otfried Cheong
otfried at ipe.airpost.net
Mon Sep 19 08:37:38 UTC 2016
Hello,
my app has a manual in html. I normally show this using "xdg-open
<url>", but from the snap this results in "xdg-open: Permission denied",
leaving this log:
[21249.231634] audit: type=1400 audit(1474273861.873:383):
apparmor="DENIED" operation="exec" profile="snap.ipe.sh"
name="/usr/local/bin/xdg-open" pid=9551 comm="sh" requested_mask="x"
denied_mask="x" fsuid=1000 ouid=0
According to
https://lists.ubuntu.com/archives/snapcraft/2016-September/001048.html
this should work.
I did refresh ubuntu-core from the beta channel and currently have
revision 636 of ubuntu-core.
Slightly related: If I understand
https://lists.ubuntu.com/archives/snapcraft/2016-September/001118.html
correctly, the host filesystem should be exposed to the snap as
/var/lib/snapd/hostfs in devmode? It isn't on my system.
Cheers,
Otfried
More information about the Snapcraft
mailing list