Did you check your upload user?

If you are conected with "root" user your files will be with user and group permissions from "root".  

When you acess files in www you can have this problem because your enviroment uses user from host or nobody user. 

I holpe this helps.