Re: Permissions on uploaded image don't allow for over writing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave <dave@xxxxxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux