Vamsi Pavan’s Place

When curiousity outbursts …..

Write permissions to vfat filesystems for normal users

August 5th, 2005 · No Comments · Linux

We all know the normal usage of ‘mount’ as

command line usage:

$ mount -t /dev/hda1 /mnt/directory

in /etc/fstab file:

/dev/hda1 /mnt/directory vfat defaults 0 0

By using either of above usages, only root can have write permissions on vfat filesystems. For getting write permissions to normal users:

/dev/hda1 /mnt/directory vfat users,gid=users,umask=0002,iocharset=utf8 0 0

Add this line to /etc/fstab file. And “users” is the group in which all users will get write permissions to mounterd vfat drives. Only vfat file system has this option. For filesystems like NTFS etc, even root doesn’t have write permissions. It is still in implementation.

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment