Set SQLITE_TMPDIR=/tmp and it should be happy. TMPDIR isn't explicitly set in the snap's runtime environment, which is why sqlite falls back to /var/tmp
/tmp is mounted into your snap's runtime, and sqlite will try SQLITE_TMPDIR before TMPDIR, so setting that ensures that it won't impact anything other than sqlite. Michael Hall [email protected] On 09/26/2016 08:15 PM, Leo Arias wrote: > Hello, > > I'm trying to snap mapbox > studio: https://gist.github.com/elopio/d4e84e0d921151a68445a15d8dbc6ced > > It's failing when I try to create a map because sqlite tries to write to > /var/tmp. According to [1], sqlite uses $TMPDIR before trying to use > /var/tmp, so this is weird. > > Is anybody around with more sqlite knowledge who can help me? > > pura vida. > > [1] https://www.sqlite.org/tempfiles.html > > -- > ¡paz y baile! > http://www.ubuntu.com > > -- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
