permissions problem -- solved

Gerhard Magnus magnus at agora.rdrop.com
Thu Dec 14 00:31:02 UTC 2006


On Wed, 2006-12-13 at 23:40 +0000, James Wilkinson wrote:
> Gerhard Magnus wrote:
> > I'm running FC5 and gnome on a machine dual booting with Windows and
> > would like to read from/write to a Windows vfat partition.  I've added
> > this line to /etc/fstab:
> > 
> > /dev/sdb1   /mnt/win   vfat    rw,noatime,uid=500,gid=500,user   0 0
> > 
> > Then, also as root:
> > 
> > mkdir /mnt/win
> > chmod 777 /mnt/win
> > 
> > In linux, I can now read from the /mnt/win directory but can't write to
> > it without root privileges.  How should I set the privileges on this
> > directory so that I can write to it as a user?  Are the mount parameters
> > in fstab correct?
> 
> What's your user ID and group ID? You can run the id command to check.
> Make sure they fit what's in the /etc/fstab above. 
they were both 500

> You might also like
> to add dmask=2,fmask=113 to the options -- they give more usable default
> permissions.
this made it work -- thanks

> 
> Don't try using Unix commands to change permissions on a vfat
> filesystem -- It Don't Work Like That.




More information about the fedora-list mailing list