Write Permission
| From: | Russell Anam | Date: | Mon, 04 Dec 2000 17:22:44 +0000 |
| Subject: | Write Permission | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28600@lists.php.net to get a copy of this message | ||
Hello, I just coded a upload function for my site, only to discover that I
can't copy files from /tmp directory to my directory as Apache is running as
user "nobody" and as such does not have write permission to my directory.
What can I do now? Is there any way to change the user of Apache through php
code?? Or is there any other way? Any suggestion will be greatly
appreciated.
I just also found out that I can write to one of the directories if I set
its permission to 775 but not to others. I can only do it with permission
777. Why?
____________________________________________________
Imagine a world without Gates.......Imagine Linux