You are not logged in.

#1 2010-02-21 20:40:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

ntfs-g3 mounts are 777/ignoring my umask/fmask in /etc/fstab [solved]

Basically, when I mount up an NTFS partition, it goes 777 for everything.  I'd like to keep dirs set to 755 and files set to 644 and according to the ntfs-g3 man page, this is accomplished with a umask and fmask in the /etc/fstab.  Mine doesn't honor them:

LABEL=Data      /media/data        ntfs-3g,defaults,umask=0022,fmask=0133       0       0
# ls -l /media/
drwxrwxrwx 1 root    root    20480 Feb 15 16:26 data

What am I missing?

EDIT: problem was the comma after ntfs-3g which should be a TAB

Last edited by graysky (2010-02-21 20:46:29)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB