snap home dir

Alekseenko Vasilii vasilisc777 at gmail.com
Wed Jun 22 06:18:45 UTC 2016


why program can't get listing /home/user/ directory?

cat /var/log/syslog | grep audit

Jun 22 08:56:42 vasilisc kernel: [  248.550499] audit: type=1400 
audit(1466575002.647:38): apparmor="DENIED" operation="open" 
profile="snap.languagetool.languagetool" name="/home/vasilisc/" 
pid=28374 comm="java" requested_mask="r" denied_mask="r" fsuid=1000 
ouid=1000

Jun 22 08:56:52 vasilisc kernel: [  258.066781] audit: type=1400 
audit(1466575012.163:39): apparmor="DENIED" operation="open" 
profile="snap.languagetool.languagetool" name="/home/" pid=28675 
comm="java" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

===============
cat /snap/languagetool/current/meta/snap.yaml

apps:
   languagetool:
     command: command-languagetool.wrapper
     plugs:
     - network
     - network-bind
     - x11
     - home
     - unity7
architectures:
- amd64
confinement: strict


----





More information about the Snapcraft mailing list