Tuesday, August 16, 2016

18.04 - fstab mounting: permission setting

I have an issue with mounting my NTFS data partition (separate drive). This is the drive (fdisk -l):



Disk /dev/sdb: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00095dd3


Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 488396799 488394752 232,9G 7 HPFS/NTFS/exFAT


I mount it through a fstab entry with my user and my user group and full permissions:



/dev/sdb1    /home/asche/dtn     ntfs-3g  defaults,nls=utf8,umask=000,auto,uid=1000,gid=1000           0  0


It shows up normally in Nautilus and in terminal (ls -ll ~):




drwxrwxrwx  1 asche asche    4096 Okt 22 21:42  dtn


Also all the data is there under ~/dtn. I just don't have permission to delete, cut, rename etc (so, I guess read-only is granted).



Any ideas on how to change my fstab file? I have tried quite a bunch by now...



I am running Ubuntu 18.04 LTS and Win10 in dual boot.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...