1

I tried to link some files to plex media player and made a mistake when changing rights and ownership. I made a user named plex and gave it (not intentionally) all the rights and ownership of my personal files.

Result: I can not longer access my personal files from my normal user name.

What to do?

1
  • Edit your question and add the output of ls -lR on your home. – Braiam Jan 25 '14 at 0:43
1

This will convert USER & GROUP the owner of DIRECTORY:

sudo chown -R $USER:$GROUP DIRECTORY

Replace this command with your values and run it.

For instance if your personal files are under /home/pepe/ do sudo chown -R $USER /home/pepe/. This would work because $USER represents your actual user.

Maybe you need to restart your system to take effect.

6
  • can't get acces to home/pepe – user233269 Jan 24 '14 at 19:46
  • .gvfs ijnput output error ???? – user233269 Jan 24 '14 at 19:47
  • Please, copy and paste the full output. And do not edit it. It would be hard to help you with wrong information. – Lucio Jan 24 '14 at 19:48
  • chown: access denied to ‘/home/*******/.gvfs’: access denied: thanks for your help – user233269 Jan 24 '14 at 21:23
  • 1
    This morning after a reboot, all rights and ownership are back to normal, despite the error messages. I thought the error messages meant that the instruction did not work, but it did. thank you! – user233269 Jan 25 '14 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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