LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mount NTFS so that files are not executable buts directories are (https://www.linuxquestions.org/questions/slackware-14/mount-ntfs-so-that-files-are-not-executable-buts-directories-are-363315/)

nasty_daemon 09-14-2005 11:02 AM

Mount NTFS so that files are not executable buts directories are
 
hey, i have a problem when mounting NTFS partitions

i use the options: users,umask=0222
and all the files are with execute permisions.
I tried noexec parameter but that did not work.
I haven't managed up to now in a NTFS partition to have
the directories with execute permission so that i can cd them and the
files with no execute..

rtg 09-14-2005 12:27 PM

Had the exact wish as you now. Fixed it and now fstab line is
Code:

/dev/hda3 /mnt/win ntfs ro,nls=koi8-r,umask=0000,fmask=0111 0  0
so the options are umask=0000,fmask=0111

jschiwal 09-14-2005 03:44 PM

There are separate fmask and dmask options for mounting the NTFS filesystem. Dmask is for directories and fmask is for files

nasty_daemon 09-15-2005 09:50 AM

Quote:

Originally posted by jschiwal
There are seperate fmask and dmask options for mounting the NTFS filesystem. Dmask is for directories and fmask is for files
where is this written ??
man mount When i go to the specific options for NTFS there isn't such an option ..

thnx for the help both of you :)

rtg 09-15-2005 12:35 PM

This info should be in Documentation/filesystems/ntfs.txt under you linux kernel source directory.
:)

small_boy22 09-16-2005 04:33 AM

Quote:

Originally posted by rtg
This info should be in Documentation/filesystems/ntfs.txt under you linux kernel source directory.
:)

thnx.

jschiwal 09-20-2005 01:51 AM

The fmask and umask options are also explained in the vfat section of 'man 8 mount'.

There may be a "man 8 fstab" also to reference.


All times are GMT -5. The time now is 12:13 AM.