LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-04-2004, 09:17 AM   #1
Boggit
Member
 
Registered: Jun 2003
Posts: 54

Rep: Reputation: 15
Read/Write access to a partition?


Hello, I have a FAT32 partition that is mounted so I can access it in linux, however only ROOT is able to write to the partition?

What do I need to do so that my normal user login has access/permission to read/write to the fat32 partition?

Many thanks

Boggit
 
Old 04-04-2004, 09:27 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You have to edit the file /etc/fstab. Here is an example:

Code:
/dev/hda1		/mnt/win_c		vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
That mounts your first partition (/dev/hda1), otherwise, change it for your correct partition, at the folder /mnt/win_c. That, indeed, assumes that you have already created a directory called win_c at mnt (or create now, as root, type: mkdir /mnt/win_c).

After editing that file, you may need to umount and remount the partition or restart your computer. It's your call

Good luck!
 
Old 04-04-2004, 09:29 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
you need to change the permissions of the mount point and/or
edit your /etc/fstab
 
Old 04-04-2004, 02:18 PM   #4
Boggit
Member
 
Registered: Jun 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for your replies.
Megaman X: my fstab file has the exact line in it. I have a question though. When I reboot, I can go into /mnt and I see the fat partition, but I'd like a link to be present on the desktop? How do I make it automount to the desktop when X loads?
 
Old 04-04-2004, 02:31 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Cool Boggit!. Well, it depends the desktop manager you are using I think. It's it's gnome/kde then you can create a link to your destkop (Right click on the destkop, then choose Link to application). There make a link to Nautilus(if Gnome) or Konqueror (if KDE) to point to that partition. Note, I do not use KDE or Gnome, nor am sure if that would work. But the approach should be something like this

Sorry not being so helpful about this though

Good luck!
 
Old 04-04-2004, 03:05 PM   #6
Boggit
Member
 
Registered: Jun 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks so much Megaman X. Yeah I am using GNOME. Thank you for your help! Now just to set up internet on this pc
 
  


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
Driver to read/write to MS Access DB w/Perl bpotts Linux - General 1 09-15-2005 09:24 PM
read write access phoenix_wolf Linux - Newbie 2 12-05-2004 09:35 AM
Read/Write access ext3 partition st00 *BSD 5 06-28-2004 08:46 PM
NTFS Partition Read/Write Access Help Bomb187 Fedora 6 03-17-2004 08:00 PM

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

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