Help with permissions for terminal-recorder
Sergio Schvezov
sergio.schvezov at canonical.com
Fri Jul 3 18:43:45 UTC 2015
On Fri, Jul 03, 2015 at 10:38:33AM -0600, Leo Arias wrote:
> On Thu, Jul 2, 2015 at 4:50 AM, Sergio Schvezov <
> sergio.schvezov at canonical.com> wrote:
>
> > Not caps, but hw-assign from snappy for /dev/tty1 to your package.
>
>
> Yes, I did that:
>
> sudo snappy hw-assign terminal-recorder.sideload /dev/tty1
>
> Same error:
>
> Jul 3 16:34:06 localhost kernel: [ 266.899768] audit: type=1400
> audit(1435941246.991:18): apparmor="DENIED" operation="getattr"
> info="Failed name lookup - disconnected path" error=-13
> profile="/usr/bin/ubuntu-core-launcher" name="dev/tty1" pid=1142
> comm="ubuntu-core-lau" requested_mask="r" denied_mask="r" fsuid=1000
> ouid=1000
>
> From the app armor FAQ, I see that the disconnected path means:
> lazily unmounted device path opened outside of current namespace
>
> Not sure what to do with that info.
Well, there is a missing leading '/' in 'dev/tty1'. From what I recall
apparmor requires absolute paths.
More information about the snappy-app-devel
mailing list