Re: File and Directory Ownership Question
| From: | Ashley Sheridan | Date: | Sun, 20 Dec 2009 18:06:34 +0000 |
| Subject: | Re: File and Directory Ownership Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300611@lists.php.net to get a copy of this message | ||
On Sun, 2009-12-20 at 12:58 -0500, Al wrote:
> I've got a PHP script running on a shared host [Blue Host] that creates a
> directory and writes files in it.
>
> The directory and files are "owned" by the site name, not "nobody" as
> I've
> always seen on other shared hosts.
>
> Anyone have a possible explanation for this?
>
> Thanks, Al.........
>
The files, if created by PHP, will belong to the user and group that
your instance of Apache is running under. Some hosts are set up slightly
differently, but it's nothing to worry about.
Thanks,
Ash
http://www.ashleysheridan.co.uk