In Ubuntu I want to change the file permissions of a whole folder and all its sub folders to read/write by anybody
I have tried sudo chmod 666 /var/www and sudo chmod 755 /var/www
without success
update
I have since found that changing privileges can also be done in the GUI by opening nautilus as sudo.