View Single Post
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#163
Originally Posted by reinob View Post
TMPDIR is set in /etc/profile

with Busybox 1.19.3power1 (*not* the recently updated version) TMPDIR is set correctly when opening X-Terminal (login shell, -sh).

How are you starting bash? If bash doesn't think it's a login shell it might not load /etc/profile. When you run "sh" (Busybox) from bash (or from -sh) TMPDIR is not (or should not be) set again.

If you want bash to read /etc/profile you need "bash --login".
I have bash as a default login shell. It has no relation to this issue, I am sure of that. I have had bash as default shell for ages and it never was a problem. It sets TMPDIR regardless of the busybox version. Starting an application like cssu customizer from the menu will have no relation with your default login shell. It is busybox that does not pass TMPDIR to it's own nested shell.
 

The Following User Says Thank You to ade For This Useful Post: