Hi John,

Thanks. Just now, I tried with confinement: devmode, but I could still
install without "--devmode". It does not complain anything there :). The
result was that the app ran in confined mode.

Thanks & best regards,
XiaoGuo

On Mon, Jul 25, 2016 at 4:55 PM, John Lenton <[email protected]>
wrote:

> On 25 July 2016 at 03:11, XiaoGuo Liu <[email protected]> wrote:
> > If I use "--devmode" when installing a snap application, do I have to
> define
> > "confinement"  in snapcraft.yaml to be ""devmode" exactly. What happens
> if I
> > defined "confinement" to be "strict"?
>
> while --devmode is required for snaps that have confinement:devmode,
> it can also be specified for confinement:strict, in which case you'll
> have a non-confined (and soon non-auto-updating) snap that could be
> confined. Useful if you're seeing weird behaviour in the snap and
> wondering if it's because of a confinement bug, but not for much
> otherwise.
>
> The reverse is not true; if you have confinement:devmode and you don't
> specify --devmode (or, in 2.11, override it with --jailmode), you'll
> get an error telling you as much.
>
> HTH,
>



-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to