I have a machine with Win 10 and Slackware-current. I am logged on to Slackware at the moment and want to write a file to a partition that is set up with ntfs-3g. I swear I wrote something to this partition a few days ago and that I've been writing to this partition pretty regularly.
/etc/fstab:
Quote:
/dev/sda7 swap swap defaults 0 0
/dev/sda5 / ext4 defaults 1 1
/dev/sda2 /boot/efi vfat defaults 1 0
/dev/sda4 /fat-c ntfs-3g fmask=133,dmask=022 1 0
/dev/sda6 /fat-d ntfs-3g fmask=111,dmask=000 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs nosuid,nodev,noexec 0 0
|
And an example of the directory I'm trying to write to on the /dev/sda6 ("/fat-d") looks like this:
Quote:
ash-5.0$ ls -l /fat-d/pictures/wildlife
total 24
drwxrwxrwx 1 root root 0 Oct 27 11:34 deer
drwxrwxrwx 1 root root 4096 Oct 27 11:34 birds
|
From what I know, those settings should allow me to write to the directory. I am logged in as a non-root user and have written to the the directory as the same user recently. Just a few minutes ago I tried to copy a pic from a thumb drive into the birds directory and this happened:
Quote:
bash-5.0$ cp /run/media/computer/802B-C6F0/Pa.Poecile.atricapillus_20.JPG /fat-d/pictures/wildlife/birds
cp: cannot create regular file '/fat-d/pictures/wildlife/birds/Pa.Poecile.atricapillus_20.JPG': Read-only file system
|
What am I missing here? How do I fix the permissions to let the non-root user write (I can still currently read) to the directory?