Posted by Raj Shekhar on 01/31/05 05:06
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/
[Back to original message]
|