Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

changing owners of UNIX files using PHP

supabsupab Posts: 2Member
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

  • Mark StrijbosMark Strijbos Posts: 82Member
    : 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.