D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Writing to FAT32 mounts as non-root user



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 06 Apr 2003 6:34 pm, Jonathan Melhuish wrote:
> Under Mandrake 9.0, my FAT drives are owned root.root
> Which means you have to be root every time you want to do anything on your
> windows drives; not a friendly situation for a newbie!
> So how do I fix it?

Change the settings in /etc/fstab to include 'user'. 
/dev/hda1       /mnt/windows    vfat    
noauto,user,iocharset=iso8859-15,codepage=850,umask=0 0 0

I also use noauto in the settings so that it isn't mounted until I need it. 
Because I call mount as a user, the partition is mounted read-write for that 
user. (KwikDisk is handy like that).

- -- 

Neil Williams
=============
http://www.codehelp.co.uk
http://www.dclug.org.uk

http://www.wewantbroadband.co.uk/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+kLNZiAEJSii8s+MRAqyhAJ0UkWvVcdx8yW4PSfrzkkTVK9q7pACfa/oH
uZEIw+XN2XLug+a2VH3NGGU=
=PHrb
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly