Comment 2 for bug 1702656

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

We might be able to do 1 in snapcraft by re-exec-ing ourselves with sudo if we detect `os` or `kernel` as we will most likely follow the lead and move snapcraft to build as a regular user as well so it might be better to do the `root` required detection ourselves.