php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34693 unable to launch executable
Submitted: 2005-09-30 20:30 UTC Modified: 2005-09-30 21:08 UTC
From: Magloiregti at hotmail dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.4.0 OS: windows 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Magloiregti at hotmail dot com
New email:
PHP Version: OS:

 

 [2005-09-30 20:30 UTC] Magloiregti at hotmail dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-30 21:08 UTC] sniper@php.net
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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC