changing owners of UNIX files using PHP

Hi everyone,
I have a question regarding PHP. I am working with file and directory manipulation. At first I couldn't get the folders that I had created to be deleted. I can do that now since I've put in my folder pathname. My only problem now is that my files are owned by 'nobody'. I was wondering how I can change that using PHP. Thanks guys

Comments

  • : My only problem now is that my files are owned by 'nobody'. I was wondering how I can change that using PHP.

    You can't AFAIK. and you shouldn't be able to either as this would constitute a major 'backdoor' into any Unix/Linux based server
    Webserver threads are always owned by nobody to ensure they dont do too much harm

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion