I am using ubuntu 10.04,I need to give execute permission in www folder.But by mistake i gave execute permission in whole var folder.
Then i try to change it into normal permission.For that i gave
sudo chmod -R 777 /var
And again i gave execute permission only www folder.But the problem is my index.html file is not run which is located in inside the www folder. How to restore the default permission on the /var directory/folder.
sudo chmod -R 775 /var/