lundi 29 décembre 2014

uploading new files to vhost. Need to change the file view settings


My website has a feature that uploads files and displays them. So there is a folder in the public directory that stores those files.


But the main problem is that after each upload, I have to manually change the privacy of that particular file, otherwise it gives me error 403 Forbidden.(i.e. chmod 644 filename after each upload)


Can anyone please tell me how to make it world readable automatically, without me manually updating it each time?


p.s. just a beginner



Aucun commentaire:

Enregistrer un commentaire