LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-24-2005, 03:23 PM   #1
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Mounting fat32 r+w in FC3?


Hi,

Well this is my first post so i'd like to say hi to everyone.

Now i'll hit you with the problem :

I'm using fedora core 3 on the latest kernel update and i'm trying to setup my other partitions properly in Linux:

NTFS partition - Windows 200
FAT32 Partition

I've sorted out the NTFS module in the kernel and have written in my fstab to mount my fat32 partition (which i want to use for serving files between windows and FC3) and the NTFS partition using the rw,user,exec,auto options however the NTFS drive mounts read only by root (which is fine as i read NTFS writing is dodgy in Linux) however the fat 32 partiton mounts read only for all users, only root can write to it and i wish to be able to write to it.

I've tried chmod 777 /path and chown user /path but it says "operation is not permitted"

I've tried mounting it as the user (cause of the user option in fstab) but it says mount can only be performed by root.

I've tried sharing it under samba and still no avail.

Any help is greatly appreciated

Regards

Ethics
 
Old 04-24-2005, 03:37 PM   #2
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hi,

for allowing complete access to the fat32 partitions of your hardisk just edit the corresponding line in /etc/fstab and add umask=000

Example :
Code:
/dev/hdaX		/win			vfat    exec,umask=000 	0 0
 
Old 04-24-2005, 04:13 PM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Original Poster
Rep: Reputation: 45
Thanks

Thanks very much, could i ask what the umask is for though? is it some sort of ID for group or something?

Thanks again
 
Old 04-24-2005, 04:19 PM   #4
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hi,

The umask is for setting the permissions.But it works in just the inverse way.
i.e. it is just the opposite for what all permissions u want

i.e. if u want permissions 777 the umask will be 000
if u want permissions 755 the umask will be 022

(7-7, 7-5, 7-5)

It is just like specifying the complement of the permissions u want inorder to get those permissions

Hope that helps

Last edited by koodoo; 04-24-2005 at 04:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
reading FAT32 partitions in FC3 Digital Surgeon Fedora - Installation 1 02-08-2005 05:20 PM
Fat32 Mount on FC3 StarSage Linux - Hardware 2 12-12-2004 08:57 PM
Mounting Fat32 on FC3 StarSage Fedora 1 12-12-2004 04:40 PM
mounting fat32 snow Linux - Software 25 09-07-2003 02:37 PM
mounting FAT32? FaLLeNSouL Linux - Newbie 2 03-28-2003 05:20 AM

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

All times are GMT -5. The time now is 01:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration