Re: chown function
| From: | Daniele Palumbo | Date: | Fri, 14 Oct 2005 20:51:56 +0000 |
| Subject: | Re: chown function | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224159@lists.php.net to get a copy of this message | ||
Alle 17:25, giovedì 13 ottobre 2005, John Nichel ha scritto:
> nobody:nobody.
nobody:nonexistant (random number abs() really high), at least for apache2.
my personal suggestion is:
- chown all files (avoid suid) and dir root
- chgrp apache all files and dir
- chmod 750 all dir, 640 all files
- chmod 640, chown apache all files that apache or php need to modify.
HTH,
d.