You are not logged in.
I need to mount my /dev/sda7 partition when I login so I added the following lines to /etc/fstab
# /dev/sda7 LABEL=Data
UUID=9E70298C70296BE9 /home/gyosko/Data auto rw,user,auto 0 0I got the UUID by reading the output of
blkid
/dev/sda7: LABEL="Data" UUID="9E70298C70296BE9" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="0ddc5fe2-ff5e-434b-99df-76d035105f83"The problem is that I can't even read the partition when it is mounted because root is the owner of Data directory.
Before mounting:
ls -l
drwxr-xr-x 2 gyosko gyosko 4096 22 giu 17.23 DataAfter mounting:
ls -l
drwx------ 1 root root 4096 20 giu 21.05 DataHow can I mount the partition and be the owner so that I can read/write without problem?
Last edited by gyosko (2015-06-22 16:10:00)
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thanks!
Offline