joined:July 28, 2006
Hello, I am having trouble with one of my php scripts which needs to create/edit/delete different files within a website. The problem is when I upload the files via FTP they are all given a specifc "owner" and "group". However when the scripts are run by me browsing to them the scripts are run by "nobody" in which case it dosn't have the privllages to create/edit/delete files (or even chmod, or chown, the files). So is does anyone know how to run the script as a specific user?
Or maybe this can be set in the .htaccess file? Whenever abc.php runs it runs as "Someuser"?