Consultor Eletrônico



Kbase P24727: Querying LD_LIBRARY_PATH from 4GL shows garbage when using Compaq Tru64.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/23/2004
Status: Unverified

FACT(s) (Environment):

Compaq Tru64 UNIX

SYMPTOM(s):

Querying LD_LIBRARY_PATH from 4GL shows garbage when using Compaq Tru64.

display os-getenv("LD_LIBRARY_PATH") format "x(75)".

Garbage or numbers are shown prior to the actual LD_LIBRARY_PATH value.

CAUSE:

This appears to be a security measure enforced by the operating system when using LD_LIBRARY_PATH, the _progres executable is owned by root, and the setuid bit is set.

Tru64 seems to prepend LD_LIBRARY_PATH with the user no and group no, delimited by 0xFF, when an exe has setuid and owned by root.

Having the _progres executable owned by root AND having the setuid bit set causes the problem.

FIX:

Workaround:

Remove the setuid bit from the _progres executable.