fstab mount options for umask, fmask, dmask for ntfs with noexec
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a ntfs partition and when I mount it with default options in fstab I get for files and directories:
rwxrwxrwx = 0777
Obviously ntfs does not support "noexec" option and I do not want 'x' flag to the files and directories. So I'd like to ask what values shall I set to fmask, dmask and umask?
When I set umask=0666
/dev/sda3 /ntfsPartition ntfs-3g defaults,noatime,umask=0666,locale=en_US.utf8,errors=ro 0 0
I get d--x--x--x for the mount directory of the partition. I can go the directory:
cd /ntfsPartition
but I cannot read the content:
ls /ntfsPartition
ls: cannot open directory '.': Permission denied
Thanks in advance!
fstab ntfs ntfs-3g
add a comment |Â
up vote
0
down vote
favorite
I have a ntfs partition and when I mount it with default options in fstab I get for files and directories:
rwxrwxrwx = 0777
Obviously ntfs does not support "noexec" option and I do not want 'x' flag to the files and directories. So I'd like to ask what values shall I set to fmask, dmask and umask?
When I set umask=0666
/dev/sda3 /ntfsPartition ntfs-3g defaults,noatime,umask=0666,locale=en_US.utf8,errors=ro 0 0
I get d--x--x--x for the mount directory of the partition. I can go the directory:
cd /ntfsPartition
but I cannot read the content:
ls /ntfsPartition
ls: cannot open directory '.': Permission denied
Thanks in advance!
fstab ntfs ntfs-3g
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a ntfs partition and when I mount it with default options in fstab I get for files and directories:
rwxrwxrwx = 0777
Obviously ntfs does not support "noexec" option and I do not want 'x' flag to the files and directories. So I'd like to ask what values shall I set to fmask, dmask and umask?
When I set umask=0666
/dev/sda3 /ntfsPartition ntfs-3g defaults,noatime,umask=0666,locale=en_US.utf8,errors=ro 0 0
I get d--x--x--x for the mount directory of the partition. I can go the directory:
cd /ntfsPartition
but I cannot read the content:
ls /ntfsPartition
ls: cannot open directory '.': Permission denied
Thanks in advance!
fstab ntfs ntfs-3g
I have a ntfs partition and when I mount it with default options in fstab I get for files and directories:
rwxrwxrwx = 0777
Obviously ntfs does not support "noexec" option and I do not want 'x' flag to the files and directories. So I'd like to ask what values shall I set to fmask, dmask and umask?
When I set umask=0666
/dev/sda3 /ntfsPartition ntfs-3g defaults,noatime,umask=0666,locale=en_US.utf8,errors=ro 0 0
I get d--x--x--x for the mount directory of the partition. I can go the directory:
cd /ntfsPartition
but I cannot read the content:
ls /ntfsPartition
ls: cannot open directory '.': Permission denied
Thanks in advance!
fstab ntfs ntfs-3g
fstab ntfs ntfs-3g
edited Oct 8 '17 at 21:30
asked Oct 8 '17 at 21:22
Banish
164
164
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
umask
says what bits to turn off, so you should try umask=0111
.
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
umask
says what bits to turn off, so you should try umask=0111
.
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
add a comment |Â
up vote
0
down vote
umask
says what bits to turn off, so you should try umask=0111
.
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
add a comment |Â
up vote
0
down vote
up vote
0
down vote
umask
says what bits to turn off, so you should try umask=0111
.
umask
says what bits to turn off, so you should try umask=0111
.
answered Oct 8 '17 at 21:34
Scott
6,29942347
6,29942347
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
add a comment |Â
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
It doesnt work. :) Shall I set only umask or umask, fmask and dmask or only fmask and dmask? $ cd ntfsPartition/ bash: cd: ntfsPartition/: Permission denied
â Banish
Oct 8 '17 at 21:37
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396904%2ffstab-mount-options-for-umask-fmask-dmask-for-ntfs-with-noexec%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password