First time snapcraft user having issues

Kyle Fazzari kyle.fazzari at canonical.com
Wed Sep 14 14:53:40 UTC 2016


On 09/13/2016 08:08 PM, Robert Park wrote:
> Hi all,
>
> 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.

-- 
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160914/bb49b02b/attachment.sig>


More information about the Snapcraft mailing list