Folders and files permission problem

view story

http://askubuntu.com – I just installed Ubuntu server 12.04, now when I create any folder in www/ the default permission is creating problem and every time I have to give permission manually. Please give me the command to run so that when I create any folder or file in the www directory I do not have to give permission and it run by default. thanks in advance (HowTos)