LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Read/Write access to a partition? (https://www.linuxquestions.org/questions/linux-newbie-8/read-write-access-to-a-partition-166053/)

Boggit 04-04-2004 09:17 AM

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?:Pengy:

Many thanks

Boggit

Mega Man X 04-04-2004 09:27 AM

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!

320mb 04-04-2004 09:29 AM

you need to change the permissions of the mount point and/or
edit your /etc/fstab

Boggit 04-04-2004 02:18 PM

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?

Mega Man X 04-04-2004 02:31 PM

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!

Boggit 04-04-2004 03:05 PM

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


All times are GMT -5. The time now is 07:13 PM.