Fwd: Member not found
Gábor Paller
gaborpaller at gmail.com
Sun Nov 1 19:08:04 UTC 2015
My snap now runs unconfined and I would like to make it confined. I am
sitting on top of a huge software stack (entire OpenCV and its
dependencies) and access problems start to come up.
First question: I need to grant access to a privileged file.
IOError: [Errno 13] Permission denied: '/etc/matplotlibrc'
How do I do this?
Regards,
Gabor
On Fri, Oct 30, 2015 at 8:17 PM, Jamie Strandboge <jamie at canonical.com>
wrote:
> On 10/30/2015 02:08 PM, Gábor Paller wrote:
> > "On 15.04 you have two options, either use hw-assign (which is aimed at
> > developers) or use oem assign"
> >
> > So is that "hw-assign" necessary after every installation? I suspect it
> is as
> > the access to the ttyO1 device is not present in the apparmor file so
> whenever
> > the package is reinstalled, the permission has to be granted again. Am I
> right?
> >
> I answered this in a followup email: "When using hw-assign, you will need
> to run
> hw-assign after the first install of the snap on a device. You do not have
> to
> run it again after upgrading the snap that the device has been assigned
> to."
>
> > Also, what is the "caps" in the package.yaml that gives me access to the
> /dev/ttyO1?
> >
> caps is not used to grant access to devices.
>
> --
> Jamie Strandboge http://www.ubuntu.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20151101/b670034b/attachment.html>
More information about the snappy-devel
mailing list