accidentally stuffed the permissions on all of /etc. Did not realise I was in this directory and did a sudo chmod -R 777 ./ Is there a way of getting these back to a useful state?