Quote:
Originally Posted by mturillo
but if you create a simple uplload form in your web5 user when you upload a file which is the user and which are the permissions?
|
This depends on your server configuration:
if you use mod_php, the file is owned by the apache user. If you use suphp, the file is owned by the administrator of the web.
Generally it is better if a file is owned by the administrator of the web. You can easily make it readable for the apache user by executing a chmod +r on the file in the upload script.