-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 18 August 2004 13:26, NiL SpaaR wrote: > Hi all, > > A Linux-newbie speaking here and am a bit frustrated by the fact i > cannot get a vfat mounted properly. > > I've added this line to my /etc/fstab "/dev/hdb1 /home/nil/redmond > vfat defaults,user 0 0" > I can mount it with the user but can only access it with root > I mount (as nil) with : "mount /dev/hdb1" > The ownership of the folder redmond bfor mounting is nil, but when the > partition is mounted the ownership has changed 2 root. I cannot change > the ownership of the folder with : chown nil redmond cause i get "chown: > changing ownership of `redmond': Operation not permitted" as a reply > > Can anyone plze help this newbie on the right track?
A vfat partition doesn't have the ability to set permissions the way Linux does; it's kinda primitive. When you mount the partition, you have to give the ownership/groupname. I have my Windows partition mounted as follows: /dev/hda1 /windows vfat users,gid=users,umask=0002,iocharset=utf8 0 0 Note that the gid is set at this point, it's then available for use by all members of that group. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBI6RSjeziQOokQnARAt/QAJ9030D5Nro4RNEqGVxFBC/gITu7iwCdGVE0 +52PTzMbXHExGQXdJDi+8v8= =/UwJ -----END PGP SIGNATURE-----