<p dir="ltr">Additionally if you want to figure out things like how apparmor blocks certain things and resolve them you can follow /var/log/syslog. </p>
<p dir="ltr">Regards, Akash </p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 14, 2016 7:54 AM, "Kyle Fazzari" <<a href="mailto:kyle.fazzari@canonical.com">kyle.fazzari@canonical.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 09/13/2016 08:08 PM, Robert Park wrote:<br>
> Hi all,<br>
><br>
> So I want to snap up a script that needs root and does administrative<br>
> stuff on the host system. I realize this goes against snaps' goals of<br>
> being all secure and confined, is there any way I can list a plug in<br>
> my 'plugs:' that would give me root on the users computer, perhaps<br>
> giving the user a giant warning that they're installing something that<br>
> can break their system? Basically I don't want any confinement in my<br>
> snap at all.<br>
<br>
Yeah, installing with --devmode disables confinement (but enables<br>
warnings). Make sure the "confinement" property in the snapcraft.yaml is<br>
set to devmode as well, which will make it impossible to install without<br>
--devmode.<br>
<br>
--<br>
Kyle Fazzari (kyrofa)<br>
Software Engineer<br>
Canonical Ltd.<br>
<a href="mailto:kyle@canonical.com">kyle@canonical.com</a><br>
<br>
<br>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div></div>