You are not logged in.

#1 2021-11-25 11:44:52

phollox
Member
Registered: 2013-05-04
Posts: 61

[CLOSED] NTFS partition with NTFS3 gives weird fmask/dmask values

Hello,

I decided to switch the file system of a data partition that I share with Windows in my dual-boots system. I wanted to use the NTFS3 kernel driver. So I created the partition, and put the following lines on fstab

/dev/sda7   /mnt/SHARED   ntfs3   defaults,uid=1000,gid=1000,fmask=0133,dmask=0133   0 0

I'm the only user on my systems.

When I check output of mount -l I get

/dev/sda7 on /mnt/SHARED type ntfs3 (rw,relatime,uid=1000,gid=1000,fmask=37777600133,dmask=37777600133,iocharset=utf8)

Why I get those loooong fmask/dmask values?

touching a file in /mnt/SHARED creates a file with the expected access options and ownership, so they work, but looks funny.

Am I doing something wrong here?

Thanks

Last edited by phollox (2021-11-26 00:19:09)


I divide by zero, multiple times per day. Also, I don't believe in tipping
Arch + i3wm (still learning)

Offline

#2 2021-11-25 15:34:38

seth
Member
Registered: 2012-09-03
Posts: 51,149

Re: [CLOSED] NTFS partition with NTFS3 gives weird fmask/dmask values

We don't know, but it's common: https://bbs.archlinux.org/viewtopic.php?id=271086

Offline

#3 2021-11-26 00:17:54

phollox
Member
Registered: 2013-05-04
Posts: 61

Re: [CLOSED] NTFS partition with NTFS3 gives weird fmask/dmask values

seth wrote:

Thanks,

I changed my fstab line into

/dev/sda7   /mnt/SHARED   ntfs3   defaults,uid=1000,gid=1000,fmask=0177,dmask=0077   0 0

Closing this thread, because it's not my fault


I divide by zero, multiple times per day. Also, I don't believe in tipping
Arch + i3wm (still learning)

Offline

#4 2021-11-26 00:24:35

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [CLOSED] NTFS partition with NTFS3 gives weird fmask/dmask values

Please don't tag posts with [CLOSED].
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB