When unable to get the appropriate permissions, report the identity of the ''effective'' user on Unix, not the user corresponding to environment variables. We fallback to the latter only on Windows.
Closes #8367.
Authored by: cboos 2009-06-10
Parent: [r8263]
Child: [r8265]