Advertisement

fat32/vfat permissions?

Started by April 06, 2005 11:28 AM
2 comments, last by 255 19 years, 7 months ago
i set up a partion as fat32/vfat to share files between windows and linux. the default permissions are rwxr-xr-x. is there way to change the default to rw-rw-rw-? i tried a couple things, but they didn't seem to work. (edited for typo)
This space for rent.
You need to give the fmask mount option in your /etc/fstab. For more info, search the manpage of 'mount' for options for the 'fat' filesystem (which "is not a separate filesystem, but a common part of the msdos, umsdos and vfat filesystems.").
Advertisement
so in fstab would i change "defaults" to "defaults,fmask=666"?
edit: nope that wouldn't do it...
i'm clueless... anyone?

[Edited by - gumpy macdrunken on April 6, 2005 12:23:17 PM]
This space for rent.
Try fmask=111,dmask=000

I also just noticed that some files may not have write permission; probably because the DOS read-only attribute is set. A 'chmod a+w' fixed these.

This topic is closed to new replies.

Advertisement