Hi,

The 'home' interface provides non-hidden files access to the snap defined
commands, but what if specific commands need to be run with 'sudo', how can
I read files from my user folder? For example, from below syslog, I run my
snap with 'sudo' to enable the bluetooth, but once I run the snap with
root, it can't access $HOME:

audit: type=1400 audit(1486391164.744:1219): apparmor="DENIED"
operation="open" profile="snap.iotivity-smarthome-demo.node"
name="/home/tzeng/Workspace/node-examples/bluetooth/central-ess.js"
pid=6991 comm="node" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000

Any pointers would be very appreciated. Thanks.

Best Regards,
Tonny
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to