Using sudo from within a snap

Jamie Strandboge jamie at canonical.com
Wed Aug 17 13:55:35 UTC 2016


On Tue, 2016-08-16 at 10:59 -0500, Jamie Strandboge wrote:
> On Tue, 2016-08-16 at 09:53 -0400, Chris Wayne wrote:
> > 
> > Is this something that could be added to the roadmap?  We'd really prefer
> > to not have to call the snap itself with sudo as it creates some
> > permissions issues (root-owned dirs in $HOME for example) and some other
> > general flakiness.  What would the sudo interface entail, just access to
> > /usr/bin/sudo and /etc/sudoers.d/snap.mountpoint?
> > 
> In the bug[1] we're focused on sudo and/or pkexec not working within a devmode
> snap. With devmode, sudo should work and we can work through how to fix that.
> Indeed, the conversation has moved to the bug.
> 

For those interested, there was a bug in the snap itself and the details can be
found here:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1610292/comments/4

-- 
Jamie Strandboge             | http://www.canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160817/1e346557/attachment.sig>


More information about the Snapcraft mailing list