[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot remove 'execute' permission from vfat & ntfs partitions



Point taken Dragan. What I want to do is remove the 'execute'
permission from all files under /mnt/winC and /mnt/winE.

Thanks for the tip Bill.

/dev/hda1	/mnt/winC	vfat	uid=1000,gid=1000,dmask=007,fmask=117	0	0

... allows owner and group to navigate, create & delete directories;
and read & write, but not execute files ~ which is exactly what I want.

However, dmask & fmask do not appear to be options for ntfs. I have
tried:

/dev/hda6	/mnt/winE	ntfs	uid=1000,gid=1000,dmask=227,fmask=337	0	0

... which I hoped would allow owner and group to navigate directories
and read, but not write or execute files. This strangely results in the
permissions for winE being 414.

Have I missed something or is it not possible to achieve this for ntfs.

Thanks again,

Kevin



Reply to: