TMPDIR not available when running a snap as an user

Bug #1462903 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Undecided
Unassigned

Bug Description

ubuntu-core-launcher is setuid root. This means that certain environment vars are cleared including TMPDIR [0]. This means that the logic inside ubuntu-core-launcher that reads and creates $TMPDIR if its set will not work.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=129682#c1

Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed with the latest launcher that sets up a private TMPDIR.

Changed in snappy:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.