Re: unlink() & rmdir() ... Problems.
| From: | PHP Junkie | Date: | Mon, 23 Aug 2004 17:14:01 +0000 |
| Subject: | Re: unlink() & rmdir() ... Problems. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194499@lists.php.net to get a copy of this message | ||
Ave,
Well here's my situation...
You see the File Manager allows users to Upload files ... Once a user
uploads the file... It resides in a particular folder on my server. Users
will be constantly uploading, downloading, deleting files. I can't possibly
CHMOD 777 all the time...
My question is... If I select the "nobody" group for the base folder where
the files are stored & created... Will all the directories & files which are
created later by the users using the website therein have the permissions to
be deleted, if I set the permissions to read & write on that base folder?
Thanks.
On 8/23/04 12:48 PM, "Jay Blanchard" <jay.blanchard@niicommunications.com>
wrote:
> [snip]
> How do I find out which user/group my web server is running as?
> I'm running an Apache Web Server on my Power MAC G5 (Mac OS X) machine.
> I can change the user/group permissions... But which user/group does the
> web
> server use?
> [/snip]
>
> For security reasons Apache typically runs as "nobody"
>
>