LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2005, 11:04 AM   #1
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Rep: Reputation: 30
Fat32 permitions


Hello i have a problem with my partition. i have a fat32 that i want to mount in fedora. i can mount it well the problem is that i have full access as root only. but as another user i dont have write access. can anybody help?
i need it as fat because i have windows and linux and i need to access that partition from both OS's.
 
Old 01-04-2005, 11:48 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm...if you use devfs, I don't know (try to edit the read/write permissions of the device file or something?), but what I've heard of the Udev thing, it ought to grant you access if you change the permissions on your harddisk's dev file (and when you reboot, the permissions _should_ be saved). also, remember to mount the fat-partition with the rw-option among others...I really don't know if this works, since Udev has disappointed me in many ways - I've understood it does some nice things but it hasn't (and yet nobody has told me why, except that "it's under development"). well, neither does devfs always..
 
Old 01-04-2005, 12:02 PM   #3
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
check your either fdisk or cfdisk about position of FAT32 Partition. It can be /dev/hda2 or hda3 or hde1 and so on
"xxx" relates to your custom settings. "Directory" for example can be mounted as /Win or
/Storage or any other location
"username" - it's your username on *nix system

Code:
/dev/hd"your fat32 partition"   /"Directory"    vfat      uid="username",gid=root,rw         1   1
Good Luck
 
Old 01-04-2005, 12:42 PM   #4
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Original Poster
Rep: Reputation: 30
where

where do i wirte that?
 
Old 01-04-2005, 12:56 PM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
This line must be added to
/etc/fstab file

{Sigh}
Open terminal and type
#su
enter password for root
#mc
Navigate your Midnight Commander to /etc/fstab
When fstab file is selected first press F3 to view it.
If you want to edit file press F4
When done editing press F2 to save and F10 to exit

P.S. Be sure to backup your original fstab file

Last edited by SlackerLX; 01-04-2005 at 12:57 PM.
 
Old 01-04-2005, 01:17 PM   #6
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Original Poster
Rep: Reputation: 30
i already did that, and it worked. but i can't make any changes from another user. is there a way to make it 7777
 
Old 01-04-2005, 01:24 PM   #7
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
In that case the part "uid="username"" should look "uid=users"
Try this.
If does not work for some reason then
as root
#chmod 666 /dev/hd"your partition"
 
Old 01-04-2005, 02:12 PM   #8
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Original Poster
Rep: Reputation: 30
then..

with "users" means all users from "workgroup"?
/dev/hda2 /"Directory2" vfat uid=users,gid=root,rw 1 1
/dev/hda3 /"Directory3" vfat uid=users,gid=root,rw 1 1
this is the final command right?
and this will allow any user from "workgroup" to rws, am i right?
 
Old 01-04-2005, 02:16 PM   #9
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
just post your backed up fstab here, will ya?

Last edited by SlackerLX; 01-04-2005 at 04:58 PM.
 
Old 01-05-2005, 07:12 AM   #10
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
this /etc/fstab line works for me :
Code:
/dev/hda5       /mnt/fat      vfat     umask=000,auto,user     0 0
The "umask=777" sets the default permissions to 777 for the fat partition (on my system hda5) mounted under /mnt/fat.
 
Old 01-05-2005, 10:09 AM   #11
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Look, it utterly simple. If my username is slackerlx for example then fstab will be

/dev/hde1 /Storage vfat uid=slackerlx,gid=root,rw 1 1
 
  


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
File permitions jocast Linux - Networking 3 08-24-2004 10:16 PM
Mounting permitions / fstab Exio Linux - Hardware 1 05-18-2004 05:56 PM
No write permitions :( Exio Linux - Networking 8 05-16-2004 05:10 PM
change permitions rootbryan Linux - Software 1 09-13-2003 11:40 PM
Permitions to groups dtournas Linux - Newbie 5 08-29-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:44 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
Open Source Consulting | Domain Registration