View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#159
Originally Posted by ade View Post
In this case it should be okay. but did you test correctly?
You must use the sh shell and be user.

echo $0
must return: sh
id
must return: uid=29999(user) gid=29999(users) groups=20(dialout),29(audio),44(video),670(pulse-access),29999(users)

Then do you still get /var/tmp as a value for TMPDIR?
On mine, the initial shell (from running X Terminal or via ssh) reports "-sh" as $0 and has TMPDIR set to /var/tmp. Running "sh" to start a new shell reports "sh" as $0 and has no TMPDIR set though.
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post: