fstab, umask and users permissions
Good evening everybody,
Out of my two win32 partitions, I want the FAT32 one to be set up as following
-> R W X for owner (root)
-> R W X for group (users)
-> R -- X for others
So, my fstab file looks like below
hda5 always mounts RWX for root group, not for users. Is there a way that hda5 be RWX for users too? (Yeah there is still is the umask=000 thing, but I want it the right way)
Thnx in advance
/dev/hda5 /windows/winD vfat defaults,umask=002,gid=users 0 0
should do it.
It did the job!
Both ntfs and vfat support dmask= & fmask= so you can turn off those annoying execute bits on files. For ntfs, the feature is undocumented on mount(8) but it has been there all the time (see /usr/src/linux/Documentation/filesystems/ntfs.txt). For vfat, the manpage says kernels >= 2.5.43. When I boot into 2.4.28, the additional flags aren't noticed so I don't see errors. You may use them after umask and they'd be ignored in these earlier kernels
|All times are GMT -5. The time now is 07:56 PM.|