Possible Duplicate:
FTP and Apache permission issues
i want to create a directory with full permissions (also applies to its "sub folders"). I am using following command:
sudo chmod 777 -R /opt/www
It sets permissions to existing folder and subfolders only. I want to make it applicable to new files/folder also so that I don't need to type in the same command again and again for new files and folders