NTFS is mounted read-only

Hi friends!
I am very new to Fedora and Linux. I have a PC with Windows 10 in one SSD and Fedora 40 in another. I have another two 1TB HDD which were used in Windows 10 and have NTFS file system. Now when I log in Fedora and try to access any partition in those two HDDs, it asks for my password and after enter it, I can access that partition and then I click on other drives, except Windows 10 system drive, and I can access the contents of those drives / partitions without entering any password because Fedora doesn’t ask any password. Now when I try to create a folder / file in any of those partitions, it shows, “Cannot create due to insufficient user rights.” Suppose I open a file in LibreOffice and after modifying try save it, same problem occurs. Please give me advice to solve this problem and please be noted that I am very new to Linux as well as Fedora. I am trying to switch from Windows because it has become too expensive and privacy intrusive. Please help me. :pray:

1 Like

You can enter the following command in the path where you want to create the file
ls -ld .
This can help you check your permissions in that directory.
If you do not have write(w) permissions in the directory, you will not be able to create any files in the directory

1 Like
1 Like

Added ntfs

NTFS works for me, read-write.

Can you tell us how you mounted it?

On Fedora with the KDE Desktop, mounting it from the filemanager worked perfectly fine.

1 Like

I do just like that. I click on any of my 4 NTFS partitions in the File Manager and then Fedora asks for the password. I put the password, hit the ‘OK’ and it becomes accessible. Then I simultaneously click on other 3 NTFS partitions and they also become accessible. I think, this is what is called as ‘Mounted’ technically. But when I try to create a file, it shows error. Please check the screenshot which I have taken while I was writing this.

Please help and thanks for reply.

That screenshot already told us a lot :wink: GUI, KDE Plasma, udisks2, kio

These drives are internally, which is why you need to enter a password. The mounting is done with higher privileges.

You may need to change permissions, or simply if you just want to get the data, use kio-admin.

After clicking on the drive and entering your user password (also important info, it could be disk encryption) the drive is mounted.

It may open a folder.

In the top file path bar (Ctrl+L) enter admin: in front of the directory. Like admin:/run/media/user/windowsdrive.

This means you access it with higher privileges

1 Like

Added dolphin, kde-plasma, kio, udisks2

Check the output when the issue happens:

grep -e ntfs -e /run/media/ /etc/mtab
2 Likes

Please see the attached screenshot. I have taken it a few minutes ago.

Please help. Thanks for the reply.

1 Like

You are right friend. I am using KDE Plasma though I don’t know what does it mean by ‘udisks2’ and ‘kio’ as I am very new to this world. :slight_smile: But this much I can tell you, at the time of installing Fedora, I didn’t choose ‘Drive Encryption’ because in my thinking, it will make a lot of problems in accessing the files.
You are right again. Whenever I am trying to save a file, even in LibreOfiice, in any of those 4 NTFS partition, it shows “Cannot access due to user rights permission.” Now, I saw a lot of video in YouTube and read a lot of article on how to change permission and all of them went over my head. May be I am a dumb. :disappointed: But I want to learn. Please help me. I think, I need to change permission to each NTFS partition so that I do not have to change permission every time. Can it be possible?
Oh! I tried that admin:/run/media/user/windowsdrive command and the problem persists. Please check the screenshot.

Please check the result in the screenshot.

Note: I cannot open terminal inside any of the NTFS partitions.

1 Like

The read-only option indicates that the relevant filesystem is inconsistent.
You should boot Windows and run filesystem check to fix NTFS errors.
As a workaround, you can try using ntfsfix from Linux.
In addition, disable Fast Startup in Windows as explained above.

2 Likes

If that drive is a windows install, or generally if you can remove the Fedora drive before doing any “windows repairs” then yes.

Windows may do random stuff and not only repair the filesystem.

I think ChrisTitus’ WinUtil has a button to launch this filesystem repair thing.

I highly recommend to reformat these drives though. Get your data and then use BTRFS. KDE Partitionmanager is great for that.

And no, encrypting your drive is no issue. You can decrypt it anywhere, change the password etc. You just need any recent Linux install with any recent Desktop.

A lot of effort has gone towards making it easy for Windows users to move to linux, but there are fundamental differences between NTFS and linux filesystems for permissions and allowed file names. You may find it helpful to have the Linux Command Line book hand. It covers linux permissions and filesystems and has been around long enough that it is thoroughly vetted. Be careful with sites promising quick and easy solutions to linux problems – many are click bait and have downright dangerous advice or server malware.

Fedora uses ntfs-3g to provide read/write access to NTFS, but there are limitations due to fundamental differences in permission management and allowed names. Linux distributions all share the same foundation but differ in installers, package management, and security management. Arch Linux often has excellent documentation that applies to all distros. A good guide for read-write access to NTFS filesystems with examples is Arch Linux NTFS-3G, but you will probably need to refer to Linux Command for explanations of some examples.

2 Likes

Windows shows no problem in NTFS files systems of any partition. I am afraid of fixing NTFS from Linux as it may not be accessible from Windows anymore and I may loose my all data. So… But, thanks for replying.

Before coming here, a lot of tutorials referred to convert the file system on Windows partitions / drives to NTFS-3G. If I convert a NTFS drives file system to NTFS-3G, will it and its contents be accessible from Windows?

Today something happened!!! I entered my Fedora system and it asked for the Administrator password. I put that and after that when I accessed one of my NTFS drive from File Manager, it asked for Administrator password as usual and then I clicked on every NTFS drives / partitions and they mounted. BUT, the most unusual things is now I am able to create file, folder, transfer files / folders, update any file … that means my problem is GONE!!! :heart_eyes: I think, something has been changed when I put the instruction you gave me to put ‘ADMIN’ in front of the file / folder / drive path and Fedora is now remember it. Now, in future, if the same file access problem occurs, I will do the same thing and the problem should be solved. I am going to shutdown the system and am going to check it works the same way like now or not and I will be back after few minutes and update this reply with my findings. Thank you @boredsquirrel for your help. :heart: :pray:

Update: I just shutdown the PC and then powered it on and entered my Fedora system. Now, this time it didn’t ask for the Administrator password like earlier and then I tried to access my NTFS drives from the File Manager and it then asked for the Administrator password and then I clicked on every NTFS partion and I got access as usual. But, this time I can create, delete, update … everything without further giving Administrator password or putting the ‘ADMIN’ in front of the path. I don’t know whether Fedora did not forget the Administrator password for the short time gap between the shutdown and power on, but that I will update after few hours of shutting down the pc. So, for now, the problem seems to be resolved but I will request the Moderators / Admins of this forum, not to close this thread as I need to see the result after few hours of shutting down my pc and then we have to discuss what really happened.

Admin privileges cannot bypass the read-only mount flag.

The actual cause is typically this:

A similar issue may happen due to filesystem errors.

3 Likes

But in my case, it did or whatever did the trick though I assume this happened because of the Admin privileges because before giving this privilege, I could not able to create, transfer, modify, delete any file in those NTFS partitions. But now, I can do that. So, I think I would not be needing to change the file system of those partitions from NTFS to NTFS-3g, at least for now. Later I have to check it with a blank drive.