RE: [PHP-DB] Re: Permission Denied; Upload
| From: | Jennifer Goodie | Date: | Fri, 04 Apr 2003 20:13:28 +0000 |
| Subject: | RE: [PHP-DB] Re: Permission Denied; Upload | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26838@lists.php.net to get a copy of this message | ||
You should not make the directory world writeable, that is a security risk.
You should chown it to the user the webserver runs as and make sure it is
owner writeable. As a side note, a directory that is 666 is not traversable
as it is missing the execution bit and you need to execute to get into it.
> -----Original Message-----
> From: Gustavo Del Castillo Meza [mailto:gdelcastillo@littledev.com]
> Sent: Friday, April 04, 2003 12:10 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] Re: Permission Denied; Upload
>
>
> You need to give the user permission to write in the destination
> directory,
> you can do this by using:
> chmod 666 directoryname
>
>