Re: Permissions on uploaded image don't allow for over writing
| From: | Raj Shekhar | Date: | Mon, 31 Jan 2005 03:06:09 +0000 |
| Subject: | Re: Permissions on uploaded image don't allow for over writing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207739@lists.php.net to get a copy of this message | ||
Dave <dave@tokyocomedy.com> writes:
>
> The Question:
> How do I allow a user, who is uploading via the web, place an
> image on the server with permissions that allow the file to be over
> written?
>
Since you say that the images are uploaded using HTTP, the files will
be owned by the user apache (or nobody). The file permission allow
read and write to the owner. You do not need to modify them.
If the user again uploads the files via HTTP, you do not have to worry
about whether he has the permissions to overwrite the files. He *will*
be able to overwrite the files.
--
Raj Shekhar
System Administrator, programmer and slacker
home : http://rajshekhar.net
blog : http://rajshekhar.net/blog/