I do not think it is a very wise idea to give any type of root access to
your php scripts. This is a disaster waiting to happen.  You can accomplish
the same thing by having your php scripts manipulate template files, which
are exact copies of the files you want to edit.  Then have a root cron job
copy the template file to the actual file every minute or so.

Fred

Robert Abbate <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi. I am trying to have PHP do things as a ROOT user. Like: make files,
> change permissions of files etc...
>
> however, I cannot do it! Even if I give the php scripts root ownership, it
> still says that apache is the owner of the files, and hence, I can't do
> anything with them.
>
> Does anyone have any insight?
>
> Thanks,
> Robert A
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to