Ubuntu – How to become the owner of a file/folder that root owns


I had a bad habit of storing my wallpapers in /usr/share/backgrounds, and decided to move them all into Pictures. Well, the problem is that most of them are now read-only since they are owned by root. How can I become the owner of them, if root already owns them? I have already tried How can I become the owner of a file that origins from another pc / user?, but the settings do not "stick".

enter image description here

Best Answer

  1. Open a terminal (CTRL+ALT+T). Now you are in your home.
  2. sudo chown -R $USER:$USER Pictures and type your normal user password.
Related Question