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?
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?
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).