Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was wondering if it was possible to reset all the folders' rights. I was having trouble when trying to install LAMP on my Ubuntu 11.04 installation, and I modified many permissions like /var /etc and I want to cancel everything I did and have permissions set to how they would be after a new install.

share|improve this question
    
You may find these questions (& answers) useful: unix.stackexchange.com/questions/1323/… & unix.stackexchange.com/questions/12998/…. –  boehj May 12 '11 at 10:41
add comment

1 Answer

If you messed up a bunch of permissions in system directories, your best bet is to reinstall. Unless you can find somewhere a comprehensive list of the correct permissions, you probably won't get it right; furthermore, some things will fail, perhaps in surprising ways.

So, you're best off reinstalling in this situation. In the future, I'm sure you'll be more careful about what you chmod.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.