Using sudo from within a snap

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Mon Aug 8 07:30:33 UTC 2016


> El 6 ago 2016, a las 20:53, Fabio Colella <fcole90 at gmail.com> escribió:
> 
> I think using sudo should require proper plug an permission, because I assume your action to be something out of the ordinary app bounds

This is not really true. Any snap can have a background application that runs a root. Sudo feels more complicated to support but definitely doesn’t give you any more power.

> 
> On 6 August 2016 at 15:54, Chris Wayne <chris.wayne at canonical.com <mailto:chris.wayne at canonical.com>> wrote:
> Hi guys,
> 
> I seem to be having some issues while running anything as sudo from within a snap (namely bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1610292 <https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1610292>).  Is this something that's expected to work, or is this out of scope (it does work if you run the snap itself with sudo, although then it's a bit annoying as you're hit with https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1595558 <https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1595558>).
> 
> Thanks
> Chris
> 
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io <mailto:Snapcraft at lists.snapcraft.io>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft <https://lists.ubuntu.com/mailman/listinfo/snapcraft>
> 
> 
> -- 
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160808/6ed99b70/attachment.html>


More information about the Snapcraft mailing list