permissions problem

Mike McCarty Mike.McCarty at sbcglobal.net
Thu Dec 14 04:10:05 UTC 2006


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

I believe that 755 is good enough. The mount point itself does not
need to be writable.

> 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?
> 
> Thanks for the help!  --Jerry

Are you mounting as a normal user, or as root?
I'd say you were not uid 500 or gid 500. What are your uid and gid?

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the users mailing list