Linux Lite Forums

Hardware - Support => Hard Drives and SSDs => Topic started by: stefanmalin on February 27, 2024, 01:20:47 PM

Title: Mounting NTFS with read-write permissions
Post by: stefanmalin on February 27, 2024, 01:20:47 PM
Hello Admin,
I have installed LL6.6 on a brand new system with Intel i5 3rd gen, 16 GB RAM and 500 GB SSD.
I have added an already partitioned NTFS disk and I tried to mount with Disks GUI app with the following parameters: rw nosuid,nodev,nofail,x-gvfs-show,uid=username,gid=username
However, even it shows in Thunbar that permissions are read-write for the username and username group, yet I can access it read-only.
Failed any trial of saving a text file in that partition, even the ls -l command shows that I have all rights.
Any idea of fixing it?
Title: Re: Mounting NTFS with read-write permissions
Post by: stevef on February 28, 2024, 01:35:43 AM
Linux may be unable to mount NTFS disks as R/W due to NTFS specific markers used for Windows proprietary features such a fast start up, security control, encryption etc.

Quote
I have added an already partitioned NTFS disk

What is the history of this disk and what does 'Disks' report about it ?
Title: Re: Mounting NTFS with read-write permissions
Post by: stefanmalin on February 28, 2024, 04:05:05 AM
Linux may be unable to mount NTFS disks as R/W due to NTFS specific markers used for Windows proprietary features such a fast start up, security control, encryption etc.

Quote
I have added an already partitioned NTFS disk

What is the history of this disk and what does 'Disks' report about it ?
The disk worked till yesterday in an Windows 8 environment and it was partitioned right there. It's a SATA Seagate 2TB, almost brand new.
'Disks' doesn't report any error, if that's the question. The partition is mounted as normal. If I mount the NTFS partition with the default settings of 'Disks', it is mounted with root as owner and read-write permission only for root.
I'm using an old distro of LL 4.4 where with same mounting parameters, a NTFS partition from a different disk (partitioned with Windows 7) works like charm. Of course, there is no UEFI boot partition (LL 4.4 didn't have) but would that be the clue?
Title: Re: Mounting NTFS with read-write permissions
Post by: stevef on February 28, 2024, 05:29:45 AM
Linux Lite 4.4 is unsupported since April 2023 so this is really only general advice.
Never used Windows 7 or 8, so can't comment on specifics.

NTFS is Microsoft proprietary and Windows can leave NTFS disks in a state that prevents them being writable by other OS.
Do you actually need the 2GB disk to be NTFS ?
Title: Re: Mounting NTFS with read-write permissions
Post by: stefanmalin on February 28, 2024, 07:44:50 AM
Linux Lite 4.4 is unsupported since April 2023 so this is really only general advice.
Never used Windows 7 or 8, so can't comment on specifics.

NTFS is Microsoft proprietary and Windows can leave NTFS disks in a state that prevents them being writable by other OS.
Do you actually need the 2GB disk to be NTFS ?
Has 2TB, not 2GB, and yes, I need them, I have some VMs and intend to use them.
Windows 7, Windows 8 used same parameters for NTFS permissions on one hand. On the other hand how was it so smooth in the old distro LL 4.4 and now it's so difficult?
Title: Re: Mounting NTFS with read-write permissions
Post by: stevef on February 28, 2024, 01:23:31 PM
I don't have the same hardware but as an experiment just formatted a couple of disks as NTFS on a Win10 machine and was able to mount them as RW on Linux Lite 5.8 and 6.6 systems without any problem.  This doesn't help except it shows that it can work.

Edit - Topic moved to Hard Drive and SSD section
Title: Re: Mounting NTFS with read-write permissions
Post by: stefanmalin on February 28, 2024, 01:55:14 PM
I don't have the same hardware but as an experiment just formatted a couple of disks as NTFS on a Win10 machine and was able to mount them as RW on Linux Lite 5.8 and 6.6 systems without any problem.  This doesn't help except it shows that it can work.

Edit - Topic moved to Hard Drive and SSD section
Apparently I had no problem either but when I tried just to edit a text file on that NTFS partition and save the changes I get an error message that I have not enough rights. Then trying to copy a simple word doc into a folder, same error. Checking with ls -l, apparently I have all read-write rights yet nothing operational. I guess it is a bug somewhere.
And it looks like nobody else has any opinion on that which it looks like I'm the only 'lucky'.