I'm a newbie in Linux/Ubuntu/Xubuntu world.
In order to supply data encapsulation I defined separate partition /data
on my HDD, where I want to store all my user data, separately from system-related data, this will allow me to format/reinstall Ubuntu without any issue.
I enter into /data/
and find out, that I don't have permissions to write to this folder. How can I enable it? I want to have ability to store all my data in this path and to have ability to format/remove & recreate other partitions.
You need to do
sudo chown -R $USER:$USER /data
This will change the directory and all files in it to your user. $USER will automagically changed to your current user so you can copy/paste this as is.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments