El 14/09/16 a las 14:11, Robert Park escribió:
On Wed, Sep 14, 2016 at 7:53 AM, Kyle Fazzari
<[email protected]> wrote:
On 09/13/2016 08:08 PM, Robert Park wrote:
So I want to snap up a script that needs root and does administrative
stuff on the host system. I realize this goes against snaps' goals of
being all secure and confined, is there any way I can list a plug in
my 'plugs:' that would give me root on the users computer, perhaps
giving the user a giant warning that they're installing something that
can break their system? Basically I don't want any confinement in my
snap at all.
Yeah, installing with --devmode disables confinement (but enables
warnings). Make sure the "confinement" property in the snapcraft.yaml is
set to devmode as well, which will make it impossible to install without
--devmode.
Even with "confinement: devmode" and "sudo snap install
--force-dangerous --devmode *.snap" I still can't run commands from
the host system:
/snap/bileto/x1/bin/bileto: 77: /snap/bileto/x1/bin/bileto: curl: not found
+ add-apt-repository ppa:ci-train-ppa-service/
/snap/bileto/x1/bin/bileto: 82: /snap/bileto/x1/bin/bileto:
add-apt-repository: not found
Snaps live on top of the core os, you can run most things on there; you
indeed would need some sort of `classic` access interface to run stuff
from you workstation which would need support for all the classic
distros and well, it might not work on Ubuntu Core.
--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/snapcraft