TMPDIR is being lost for snap commands
Bug #1457183 reported by
Michael Terry
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
snap-confine | Status tracked in Trunk | |||||
15.04 |
Fix Released
|
Undecided
|
Michael Terry | |||
Trunk |
Fix Released
|
Undecided
|
Michael Terry |
Bug Description
In the wrapper scripts that get installed in /apps/bin, TMPDIR, TEMPDIR, and SNAP_APP_TMPDIR are all set to the same thing.
But in the eventual command that gets run, only TEMPDIR and SNAP_APP_TMPDIR still have that value. TMPDIR is empty and it shouldn't be.
Related branches
lp://qastaging/~mterry/snap-confine/tmpdir
- John Lenton (community): Approve
-
Diff: 71 lines (+45/-2)2 files modifiedsrc/main.c (+11/-2)
tests/test_tmpdir (+34/-0)
lp://qastaging/~mterry/snap-confine/tmpdir-15.04
- John Lenton (community): Approve
-
Diff: 113 lines (+55/-10)3 files modifiedMakefile (+2/-0)
src/main.c (+19/-10)
tests/test_tmpdir (+34/-0)
Changed in ubuntu-core-launcher: | |
status: | New → In Progress |
To post a comment you must log in.
Here's a tiny shell snap to reproduce. It just echos the various temp variables.