Ask Your Question

How to properly mount other partitions (NTFS) on my Fedora FSH?

asked 2017-10-10 11:08:13 -0500

SomuSysAdmin gravatar image

I recently switched to Fedora 27 Beta (UEFI install, dual-boot with Win 10), and I changed my /etc/fstab to include the two following lines:

UUID=D0E24ECDE24EB78C /media/DownloadsBin  ntfs-3g  auto,user,rw,x-gvfs-show  0 0
UUID=4E565C9C565C869D /media/VMs           ntfs-3g  auto,user,rw,x-gvfs-show  0 0

It should have loaded the devices bearing the given UUIDs into /media/DownloadsBin and /media/VMs appropriately with rw permissions, right? Well, since these are windows partitions, I had to mount them using NTFS-3g. I can see the files, but whenever I even try to create a new folder (e.g. using mkdir test), I get the error:

mkdir: cannot create directory ‘test’: Read-only file system

The strange part is a similar script worked before on Fedora 26, although I'm not sure if it's got something to do with Fedora 27 Beta (a bug?!) or if there's an error in my code. So, I've come to ask the experts for help!

NOTE : I really don't wanna mess around with partition or the folder permissions, especially changing the owner, since windows started complaining and stopped me from writing to the disk the last time I tried this! I'm hoping there's a better way I can share entire partitions between Win 10 and Fedora 27 Beta without pissing either operating system off?!

Upon further investigation, it turns out that the partitions might be mounted as read-only as confirmed by findmnt /media/(dir):

[somu@lappyPrime DownloadsBin]$ findmnt /media/DownloadsBin TARGET SOURCE FSTYPE OPTIONS /media/DownloadsBin /dev/sda5 fuseblk,ro,nosuid,nodev,noexec,relatime,userid=0,groupid=0,allowother,blksize=4096 [somu@lappyPrime DownloadsBin]$ findmnt /media/VMs TARGET SOURCE FSTYPE OPTIONS /media/VMs /dev/sda6 fuseblk,ro,nosuid,nodev,noexec,relatime,userid=0,groupid=0,allowother,blksize=4096

Can anyone tell me what's going on?!

edit retag flag offensive close merge delete


You might need to do a file system check using the windows system. Also, make sure you don't use windows fastboot.

villykruse gravatar imagevillykruse ( 2017-10-11 08:38:28 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-10-10 15:05:30 -0500

sideburns gravatar image

Welcome to ask.fedora! I've seen this issue a number of times when mounting a partition from fstab that isn't partitioned with a Linux filesystem. I've always found that adding umask=0000 to the mount options clears it up. (No, I don't know why it worked on Fedora 26 but doesn't work now.) Also, as Fedora 27 is still in beta, you'd probably do better asking questions on the appropriate mailing list, as this site is mostly for fully-released versions. In any event, good luck, and keep us informed.

edit flag offensive delete link more


Could you help me out a bit and tell me where to add the umask attribute? I'm sorry if it's obvious, but I'm new to this and don't wanna accidentally screw the file system!

SomuSysAdmin gravatar imageSomuSysAdmin ( 2017-10-19 12:37:15 -0500 )edit

Sure! post the line in /etc/fstab and I'll tell you where to add it and what to take out.

sideburns gravatar imagesideburns ( 2017-10-19 12:51:06 -0500 )edit

Question Tools

1 follower


Asked: 2017-10-10 10:40:46 -0500

Seen: 1,390 times

Last updated: Oct 10 '17