0

Using Ubuntu 16.04, I gave all the permission of my home folder to an unknown username and now I am unable to write to the files under my home folder including Documents, Downloads etc...

How do I give back permission to the current user account?

Zanna
  • 72,312

1 Answers1

2

To change the ownership of a directory recursively run

sudo chown -R USER: PATH

and replace USER with the user name and PATH with the path of the directory tree in question (here: the home directory).

David Foerster
  • 36,890
  • 56
  • 97
  • 151