LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2005, 06:33 PM   #1
johannlo
LQ Newbie
 
Registered: Jul 2005
Location: Melbourne, Australia
Distribution: Fedora
Posts: 16

Rep: Reputation: 0
Mounting vfat drives


Hi all, linux n00b (but learning quik )

- how do you automount a fat32 drive so it doesn't come up as owned by root? (as its fat32 even if you log in as root you can't seem to change the permissions) This is so I don't have to log in as root just to let my windoze machine write to my samba shares on the fat32 drive.
- Am I correct in assuming that you can't change the owner / permissions on fat32 files / directories as the fat32 file system does not support these features, springing from a single user OS?

My current fstab line (working, but its read only unless u log in as root, which is annoying!)
- /dev/hdc1 /archive vfat auto,user,rw 0 0

Any help would be appreciated.

Cheers!
 
Old 07-04-2005, 06:57 PM   #2
wini_g
Member
 
Registered: Jun 2003
Distribution: SuSE 11.0
Posts: 171

Rep: Reputation: 30
This is what my fstab entry under Vector5 looks like for my Fat32 partition

/dev/hdc4 /mnt/hda4 vfat umask=0,quiet,shortname=mixed 0 0

what they all mean not sure .. but "user,rw" should usually work I guess .

"My current fstab line (working, but its read only unless u log in as root, which is annoying!)
- /dev/hdc1 /archive vfat auto,user,rw 0 0"

does that mean that a normal user does not have read access to /etc/fstab ?
If .. then I guess that might be your problem ... maybe .

Does the normal user on your system have read access to /archive & /dev/hdc1 ... I might be talking rubbish .. but I have the slight
feeling that I have some vague idea .. :-)

.... I think you are right with not being able to change permissions .
I guess one would have to use something like UMSDOS to make it accessible for windows or
of course there is somewhere an ext2 driver for windows as a last resort .



 
Old 07-04-2005, 10:09 PM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Re: Mounting vfat drives

Quote:
Originally posted by johannlo
My current fstab line (working, but its read only unless u log in as root, which is annoying!)
- /dev/hdc1 /archive vfat auto,user,rw 0 0
Based on the Ubuntu Guide...

http://ubuntuguide.org/#automountfat

... I'd say the line in your /etc/fstab file should read
/dev/hdc1 /archive vfat iocharset=utf8,umask=000 0 0

Give it a shot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to vfat drives as user. aje Slackware 24 05-22-2005 10:09 PM
running scripts from vfat mounted drives agreenb Red Hat 3 02-10-2005 01:35 PM
Mounting vfat drives as I login haddad Linux - General 3 07-15-2004 12:59 PM
vfat drives and garnome tfdml37 Linux - Software 5 02-28-2004 01:11 PM
using linux boot disk to backup fat and vfat drives. DavidPhillips Linux - General 1 08-11-2001 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration