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.. |
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 |
There are separate fmask and dmask options for mounting the NTFS filesystem. Dmask is for directories and fmask is for files
|
Quote:
man mount When i go to the specific options for NTFS there isn't such an option .. thnx for the help both of you :) |
This info should be in Documentation/filesystems/ntfs.txt under you linux kernel source directory.
:) |
Quote:
|
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. |