tuxera/ntfs-3g

Two NTFS drives : one is mounted as <user>, the other as root

Thibaulltt opened this issue · 0 comments

Hi, here are the two drives I want to mount onto my Linux partition (taken from my fstab):

UUID=<...>   /windows/alpha          ntfs    users,async,auto,permissions,exec      0 0
UUID=<...>   /windows/beta           ntfs    users,async,auto,permissions,exec      0 0

Both drives are NTFS. One is a hard drive (the first one, device /dev/sdb) and the other is NVMe (the second one, device /dev/nvme1n1).

A near-stock install of Fedora 40 mounts both of them, but sets the permissions differently:

<user>@fedora ~ $ ll /windows/alpha
total 236K
drwxrwxrwx. 1 <user> <user> 4.0K Aug 30  2021 '$RECYCLE.BIN'
drwx------. 1 root   root   8.0K Dec 27  2016  Config.Msi
drwxrwxrwx. 1 <user> <user>  16K Sep 25  2020  Documents
... snip ...


<user>@fedora ~ $ ll /windows/beta/
total 4.0K
drwxrwxrwx. 1 root root    0 Mar 27  2022 '$RECYCLE.BIN'
drwxrwxrwx. 1 root root    0 Mar 26  2022  Programs
... snip ...

I've ensured hibernation was disabled from Windows (powercfg /h off).

Any pointers to where the issue might lie ? I need those drives mounted as the logged in user. I've got two users on this computer and don't want to have to set UID and GUI manually, since that's what the users parameter is supposed to do, no?