#38358 [Opn->Fbk]: unable to set uid

From: Date: Sun, 06 Aug 2006 16:43:00 +0000
Subject: #38358 [Opn->Fbk]: unable to set uid
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100432@lists.php.net to get a copy of this message
ID: 38358 Updated by: tony2001@php.net Reported By: totooo_hegab at yahoo dot com -Status: Open +Status: Feedback Bug Type: Apache2 related PHP Version: 4.4.3 New Comment: Did you try to login as vpopmail user and run this command in console? Previous Comments: ------------------------------------------------------------------------ [2006-08-06 15:56:55] totooo_hegab at yahoo dot com the server runs at linux i tried all the probabilities, so i think it is from php ------------------------------------------------------------------------ [2006-08-06 15:53:05] tony2001@php.net What OS do you use and why do you think it's PHP issue? ------------------------------------------------------------------------ [2006-08-06 15:38:55] totooo_hegab at yahoo dot com Description: ------------ i am trying to execute a command, i used "exec" and "system" and functions they worked well for example exec("ls",$var) and echo system("ls") when i tried to execute the following command exec("/home/vpopmail/vuserinfo user@domain",$var) the following appears: "unable to set uid" note that: The appache2 web server runs as "vpopmail" user vuserinfo: used to return details about user@domain the permissions of the script vuserinfo is: 751 the ownership of the script vuserinfo is: vpopmail the group of the script vuserinfo is: vchkpw ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38358&edit=1

« previous php.bugs (#100432) next »