There is a linux script runing in my php script as below
<?
shell_exec("/usr/bin/cvs_chkout");
echo "CVS checkout finished, pleaes update your log!";
?>
This's only a part of my php script and trouble comes to me. Although linux script "cvs_chkout" did run with my coding, some scripts such as "cvs login" or "cvs up" did not run properly for the permission of linux. I got a report indicating the user "nobody" does not have access to files under /root.
It's clear this problem occurs because of permission in linux. But how can I execute some script under user "root" in my php pages. Thanks for you care!
😕 :o 😃