What are the proper permissions for an upload folder with PHP/Apache?
I have a PHP site that will allow uploads to a specific folder. I have been told that this folder needs to be owned by the webserver user for the upload process to work, so I created the folder and then set permissions as such:
chown apache:apache -R uploads/ chmod 755 -R uploads/
The only problem now is that the FTP user can not modify the uploaded files at all.
Is there a permission setting that will allow me to still upload files and then modify them later as a user other than the webserver user?
Refer From this Link http://www.prohcj.co.in/2017/07/what-are-proper-permissions-for-upload.html