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

Re: Permissions for vfat mounted drive



Leon Breedt wrote:
> 
> > You can specify the uid=value, gid=value and umask=value options when
> > mounting, or in /etc/fstab; see mount(8) and fstab(5).
> how can i specify that i don't want any files on the dos partitions to
> have executable permissions?  or is that the way the msdosfs filesystem
> handles it?

once again, using umask=value :
as for chmod (but with inversed value), 0 means rwx (inv of 7) and 1
means rw- (inv of 6)
umode=137 (rw-r-----) might be a good example.

   Pierre-Antoine


Reply to: