Where to save stuff (in snap-agnostic way)

Jamie Strandboge jamie at canonical.com
Mon Feb 6 18:02:01 UTC 2017


On Mon, 2017-02-06 at 09:25 -0800, Kyle Fazzari wrote:
> 
> On 02/06/2017 09:21 AM, Jamie Strandboge wrote:
> > 
> > On Sun, 2017-02-05 at 08:04 +0800, XiaoGuo Liu wrote:
> > > 
> > > Hi Oli,
> > > 
> > > Does it mean all of the snaps have the same /tmp or each snap has its own
> > > /tmp? I am a little bit confused about this.
> > > 
> > You might be confused because the behavior changed. For a long time, each
> > snap
> > *command* had its own /tmp directory. That was changed late last year so
> > that
> > all commands with the same snap share the same /tmp directory such that each
> > snap has its own /tmp directory.
> This is good to know, I thought each command *still* had its own /tmp.
> Any chance you know the snapd version in which this change was introduced?
> 

It looks like it was fixed in upstream (pre-merge with snapd) snap-confine
1.0.41. It didn't make it into series 16 until 1.0.43-0ubuntu1~16.04.1 until Oct
10[1].

[1]https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1630040

-- 
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/20170206/96f23715/attachment.sig>


More information about the Snapcraft mailing list