[ubuntu] New File Permissions on 10.04.1 Server

view full story

http://ubuntuforums.org – I'm driving myself crazy trying to figure this out. I hope someone can shed some light on my problem. I need to know the simplest way to set default file permissions on a folder I created: /var/www/uploads So when someone accesses the site they insert some information and then upload a file to the server, inside that uploads folder. Everything works, including the upload except permissions. The newly uploaded file has default permissions (-fw------) and cannot be read inside a web browser. Please! Someone, what is the easiest way to do this and how? I've just about broken my neck t (Hardware)