Find the answer to your Linux question:
Results 1 to 3 of 3
I'm installing mysql for a website project, but while following the installation procedure I accidentally did "sudo chown -R mysql . " at /usr/local/ instead of at /usr/local/mysql/". Whoops. I'm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2

    accidentally changed permissions, how to fix?


    I'm installing mysql for a website project, but while following the installation procedure I accidentally did "sudo chown -R mysql . " at /usr/local/ instead of at /usr/local/mysql/".
    Whoops. I'm kind of nervous about this.. how big a deal is this, and how can I fix my mistake?

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    It's probably a good idea to chown back to root and then fix what you need after that ... just my opinion but making anything other than root owner of a /usr/local does not sound like the right thing to do ...

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2
    ok, I'll set it back to root, I guess stuff will yell at me if I need to give other "users" permissions. I was just annoyed because it was even recursive...
    Thanks for your reply, I appreciate the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •