I need the ability to get into some files on my system. I own the box, I have the root access, but I need to create new files, and I don't want to make nobody (apache user) the owner of the directories. So I'm going to write a cgi that will let me create a new file, (after a login verification form to verify me, and not just for anyone), I want it to create the file I specify and then let me edit that file from within a textarea form.
What I can't figure out is how do I get my CGI php script to run with permissions of root.
Thanks
John