LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2003, 03:54 PM   #1
apax
Member
 
Registered: May 2003
Location: Sweden
Distribution: Gentoo, Slackware 9.1, Slackware 8.1, Mac OS X (if it counts...)
Posts: 71

Rep: Reputation: 15
mounting hd (fat) with existing files on it


hi...

I've got a hd wich I brought to a LAN party (since my connection is'nt the best) to download some files... Well, to make windows able to read the hd it had to be FAT.

Now, wen I'm back in Linux and want to mount the hd and edit the files as a normal mortal user, it can't be done... Well, I know you can't chmod files on a FAT partition, but I also know that you can edit /etc/fstab so that when the hd is mounted ordinary users should be alble to fiddle with the files...

from my fstab:

/dev/hdb5 /mnt/hd vfat defaults,umask=000,mode=060 0 0

should'nt this mean that the group are able to read and write to the hd?

and when I mount the hd the entire hd is owned by root and the group root. And since it it a FAT partition I can't change it...

What should I do to solve the problem? I'm surtain it's a simple answer =)
 
Old 11-04-2003, 06:59 PM   #2
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
You might want to check out the man page for mount (man 8 mount or here http://www.die.net/doc/linux/man/man8/mount.8.html)

If you look at the section of '-o' options there are some parameters that you might find helpful, like 'users'.

Actually maybe looking at this thread would be better.
 
Old 11-05-2003, 11:06 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Actually, the first link miknight posted has exactly what you're looking for, in the filesystem-specific section for FAT32 at the bottom.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting fat 32 partitions scarryharry Fedora 1 03-31-2005 01:47 PM
/etc/fstab MOUNTING FAT PARTITION cb951303 Slackware 7 08-30-2004 08:07 PM
mounting a FAT slave viperkt400 Linux - Newbie 3 02-18-2004 09:05 AM
Mounting fat drives in fstab.. subnet Linux - Newbie 3 10-10-2003 03:02 AM
Mounting FAT rwx elwis Linux - General 1 09-08-2001 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 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