Consultor Eletrônico



Kbase P69973: An exported environment variable TMPDIR is unset when using the _progres executable.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/8/2004
Status: Unverified

FACT(s) (Environment):

Linux Intel

SYMPTOM(s):

4GL program invokes a third party utility via OS-COMMAND.

Utility uses TMPDIR environment variable.

The environment variable TMPDIR, has been exported before starting _progres.

The environment variable TMPDIR is unset when using the _progres executable.

CAUSE:

This is a Linux bug, root owned processes will cause TMPDIR to be unset, just by executing the su command TMPDIR will be cleared.

FIX:

Use another environment variable when possible or change the owner of the executable _progres to other than root.