<div dir="ltr">Hi Jamie,<div><br></div><div>For my sample app at <a href="https://github.com/liu-xiao-guo/helloworld-fifo" target="_blank">https://github.com/liu-<wbr>xiao-guo/helloworld-fifo</a>, I tried to use the /tmp file to create a file, and finally I get a file on my Desktop like:</div><div><br></div><div><div style="font-size:19.2px">root@liuxg:/tmp/snap.1000_snap<wbr>.hello.fifo_TovLTW/tmp# ls</div><div style="font-size:19.2px">anothefile</div></div><div style="font-size:19.2px"><br></div><div style="font-size:19.2px">It seems to me that the path is still related to the command name "fifo". Does this conflict with your saying?</div><div style="font-size:19.2px"><br></div><div style="font-size:19.2px">Currently, my snapd version on 16.04 desktop is:</div><div style="font-size:19.2px"><br></div><div style="font-size:19.2px"><div style="font-size:19.2px">liuxg@liuxg:~$ snap version</div><div style="font-size:19.2px">snap 2.22.1</div><div style="font-size:19.2px">snapd 2.22.1</div><div style="font-size:19.2px">series 16</div><div style="font-size:19.2px">ubuntu 16.04</div><div><br></div></div><div>Thanks & best regards,</div><div>XiaoGuo</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 1:21 AM, Jamie Strandboge <span dir="ltr"><<a href="mailto:jamie@canonical.com" target="_blank">jamie@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, 2017-02-05 at 08:04 +0800, XiaoGuo Liu wrote:<br>
> Hi Oli,<br>
><br>
> Does it mean all of the snaps have the same /tmp or each snap has its own<br>
> /tmp? I am a little bit confused about this.<br>
><br>
<br>
</span>You might be confused because the behavior changed. For a long time, each snap<br>
*command* had its own /tmp directory. That was changed late last year so that<br>
all commands with the same snap share the same /tmp directory such that each<br>
snap has its own /tmp directory.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Jamie Strandboge | <a href="http://www.canonical.com" rel="noreferrer" target="_blank">http://www.canonical.com</a><br>
<br>
</div></div><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><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">XiaoGuo, Liu </div></div></div></div>
</div>