Help with permissions for terminal-recorder

Sergio Schvezov sergio.schvezov at canonical.com
Thu Jul 2 10:50:38 UTC 2015


El jueves, 2 de julio de 2015 00h'47:51 ART, Leo Arias escribió:
> Hello,
> 
> I want to make a snap for a terminal recoder. I found a nice nodejs project
> that I packaged with node-snapper:
> https://github.com/JaquerEspeis/terminal-recorder-snap
> 
> When I run the binary, I get the following app armor denial:
> 
> Jul 2 03:42:39 localhost kernel: [ 2253.308605] audit: type=1400
> audit(1435808559.153:27): apparmor="DENIED" operation="getattr"
> info="Failed name lookup - disconnected path" error=-13
> profile="/usr/bin/ubuntu-core-launcher" name="dev/tty1" pid=1064
> comm="ubuntu-core-lau" requested_mask="r" denied_mask="r" fsuid=1000
> ouid=1000
> 
> What caps should I use to get this to work?

Not caps, but hw-assign from snappy for /dev/tty1 to your package.


-- 
Sent using Dekko from my Ubuntu device



More information about the snappy-app-devel mailing list