<div dir="ltr">Hi John,<div><br></div><div>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.</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 4:55 PM, John Lenton <span dir="ltr"><<a href="mailto:john.lenton@canonical.com" target="_blank">john.lenton@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 25 July 2016 at 03:11, XiaoGuo Liu <<a href="mailto:xiaoguo.liu@canonical.com">xiaoguo.liu@canonical.com</a>> wrote:<br>
> If I use "--devmode" when installing a snap application, do I have to define<br>
> "confinement" in snapcraft.yaml to be ""devmode" exactly. What happens if I<br>
> defined "confinement" to be "strict"?<br>
<br>
</span>while --devmode is required for snaps that have confinement:devmode,<br>
it can also be specified for confinement:strict, in which case you'll<br>
have a non-confined (and soon non-auto-updating) snap that could be<br>
confined. Useful if you're seeing weird behaviour in the snap and<br>
wondering if it's because of a confinement bug, but not for much<br>
otherwise.<br>
<br>
The reverse is not true; if you have confinement:devmode and you don't<br>
specify --devmode (or, in 2.11, override it with --jailmode), you'll<br>
get an error telling you as much.<br>
<br>
HTH,<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: +86-13911181302</div></div></div>
</div>