#29778 [Opn->Bgs]: HOME Environment variable pointing to root directory

From: Date: Sat, 21 Aug 2004 10:13:22 +0000
Subject: #29778 [Opn->Bgs]: HOME Environment variable pointing to root directory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65025@lists.php.net to get a copy of this message
ID: 29778 Updated by: derick@php.net Reported By: t dot mp at laposte dot net -Status: Open +Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: Linux/Madrake 10.0 PHP Version: 5.0.0 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2004-08-21 09:36:03] t dot mp at laposte dot net Description: ------------ Login with another user than root (e.g postgres). According to PHP info the HOME environment variable is pointing to /root. Echo in bash gives the correct HOME directory (/home/postgres). In relation, all the directories using HOME are wrong (e.g : TMP = /root/tmp; TMPDIR = /root/tmp). USER in phpinfo is correct (postgres), but USERNAME is root. Php.ini seems correct. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29778&edit=1

« previous php.bugs (#65025) next »