From: Magloiregti at hotmail dot com Operating system: windows 2003 PHP version: 4.4.0 PHP Bug Type: IIS related Bug description: unable to launch executable
Description: ------------ When I run the following script as a user with administrator rights, everything works like a charm. When I remove the user from the administrators group and leave it in a users group, the script does not work. (please ignore the syntax as it works fine as under the admin user account) Note that: I can run simple command lines like dir from any windows account. The permissions have been set to allow every user group to have full control on the following: cmd.exe convertDoc.exe hello.doc tmpuploads/ what are some security settings that I can enable for exec to allow the users account to run the script? Reproduce code: --------------- function runfileconvertion(){ $convert_cmd = "C:\\\"Program Files\"\\\"SoftInterface, Inc\"\\\"Convert Doc\"\ConvertDoc.exe /S C:\\\"Program Files\"\\\"Apache Group\"\Apache\webroot\createdoc\\tmpuploads\\hello.doc /F9 /T C:\\\"Program Files\"\\\"Apache Group\"\Apache\webroot\createdoc\\tmpuploads\\hello.txt /C4 /M1"; exec($convert_cmd); } runfileconvertion(); Expected result: ---------------- i expect for a new hello.txt file to be created Actual result: -------------- nothing at all, no error -- Edit bug report at http://bugs.php.net/?id=34693&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34693&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34693&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34693&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34693&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34693&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34693&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34693&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34693&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34693&r=support Expected behavior: http://bugs.php.net/fix.php?id=34693&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34693&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34693&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34693&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34693&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34693&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34693&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34693&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34693&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34693&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34693&r=mysqlcfg