Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache / cgi script / invoking system() function

Status
Not open for further replies.

webwesen

Programmer
Apr 23, 2002
1
US
hello all,

I have an Apache running on Solaris. all cgi scripts belong to user "root" / group "other".

I have chmod'ed them to 4755.

scripts are written in C and use system() library function to run "mv" and "ln -s" commands. script fail with WEXITSTATUS() = 2.

what could be worng? the script executes very well from a command line.

thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top