Where to save stuff (in snap-agnostic way)

Christian Dywan christian.dywan at canonical.com
Fri Feb 3 21:19:02 UTC 2017


Hey Luca,

I'll suggest XDG_RUNTIME_DIR i.e. /var/run 

Regards,
Cris 

Am 3. Februar 2017 21:04:19 MEZ schrieb Luca Dionisi <luca.dionisi at gmail.com>:
>What is the best place to write (and read) a temporary FIFO file from
>a confined snap application?
>This is for simple IPC between 2 processes of the same snap.
>Before attempting to snap the application I was using a fixed filename
>in /tmp. Admittedly poor solution.
>The solution should be usable also with another packaging system.
>
>--Luca
>
>P.S. the problem with Vala library has been solved and I was able to
>make the snap work in devmode. Now I am trying to move from devmode to
>strict.
>
>-- 
>Snapcraft mailing list
>Snapcraft at lists.snapcraft.io
>Modify settings or unsubscribe at:
>https://lists.ubuntu.com/mailman/listinfo/snapcraft

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170203/1e9449e6/attachment.html>


More information about the Snapcraft mailing list