I have Linux on my system and have used the DISKS GUI to auto Boot my HDD and all works well, that is until I attempt to write to the HDD or remove files and even make a new directory. If I open as ROOT I can then do everything ok. This is in the DISKS options part "nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=500GB" My question is this - is there a way to modify this line to perform a mount that gives me FULL access to this drive after boot?
1 Answer
To be able to read/write anywhere in the file system, you need to be granted permission or you need to be owner. The easiest way to obtain user permissions on an entire connected partition is to change the owner of the mount point of the partition, as:
sudo chown $USER:$USER <mountpoint>
You can type $USER
as is if you are granting permission to yourself: $USER
is automatically replaced by the current user that issues the command.
Replace by the full pathname of the flder where the partition is mounted. You can see this folder as the second entry in the line of your drive, in the output of the command mount
or in the output of the command lsblk
.