Taking ownership from Root

With a fresh installation and beiing new to the Linux world ,I created a new partition ext4 with gparted to put the Timeshift files , How can i take the ownership back from root under Linux MInt 19.3 ?


Solution 1:

Use sudo chown -R $USER /path/to/directory to use chown with the -R flag to change the ownership of the folder and everything within it from root to USER. To change the rights with chmod, do sudo chmod -R RW /path/to/directory