Hi,
I am designing a script in php to automate the process of creating a virtualhost site on a linux box running redhat 7. I know how to do the code - as in modify files and stuff - but i donnot know how to set the permission so that the script has root access because the files being modified require root.
if i set the owner and group for the directory where the script is to root will that work?
any suggestions will be helpful