0

My user name was jamin,and I used the command

sudo chown jamin -R /usr

Then something wrong with some of my software and cmd,and I aware of that I was stupid for what I was done just now.

Then I used the command:

sudo chown root -R /usr

For now, the Software Center can't work and so was others. I want to recover the default owner of of /usr and it's subfile.

I'm a fresh. Any body Help?

muru
  • 193,181
  • 53
  • 473
  • 722
Jamin
  • 1
  • 1
  • 2
    most of that is owned by root:root, but if chown root:root does not work is is likely faster and more reliable to do a fresh install. Lesson learned, do not change system files without backup and understand what you are doing first. – Panther May 24 '15 at 03:01
  • possible duplicate of [How to restore the default chown permissions on a directory / file?](http://askubuntu.com/questions/300557/how-to-restore-the-default-chown-permissions-on-a-directory-file) – muru May 24 '15 at 04:36
  • Yeah,I draw a lesson from it! I've installed many libs and software in my ubuntu,I do not want to reinstall it. – Jamin May 24 '15 at 07:06

0 Answers0