LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-05-2003, 06:36 PM   #1
Treat84
LQ Newbie
 
Registered: Jul 2003
Distribution: gentoo
Posts: 12

Rep: Reputation: 0
permissions on fat32 fubar


Hey trying to get genttoo able to read some fat32 drives. keep coming up with no permissions for my name but root has full acess. here /dev/hda2
/boot ext3 noauto,noatime 1 1
/dev/hda4 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
/dev/cdroms/cdrom1 /mnt/cdrom1 iso9660 noauto,ro,users 0 0
/dev/hdc1 /mnt/win1 vfat defaults,umask=000 0 0
/dev/hdc5 /mnt/win2 vfat defaults,umask=000 0 0
/dev/hdc6 /mnt/win3 vfat defaults,umask=000 0 0

proc /procis the fstab setup

nay help is appreciated
thanks
 
Old 09-05-2003, 06:55 PM   #2
ceedeedoos
Member
 
Registered: Aug 2003
Location: Antwerp, Belgium
Distribution: Slackware 10.0, Mandrake 10.1
Posts: 174

Rep: Reputation: 36
okay, here's what I've done (though it was for a USB Pen device, also fat32 ...)

chmod 777 the directories in question for full read-write access (in my case /mnt/removable)

and I just used the following line in fstab

/dev/sda1 /mnt/removable vfat noauto,users,rw 0 0

and that seemed to do the trick ... I can't try it out on any fat32 partitions since I only have one ntfs partition with windows on it... I hope it helps a little bit anyway ...

Last edited by ceedeedoos; 09-05-2003 at 07:02 PM.
 
Old 09-05-2003, 08:36 PM   #3
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Rep: Reputation: 15
Here is what I did when I was using FAT32. I tried over and over to get an fstab entry for that partition, in which my regular users could read and write to it. After posting on 2 this site, and the gentoo forums, I had no solution. A friend of mine gave me this solution:

In /etc/fstab:
Code:
/dev/hdx     /media     vfat     noauto,users     0 0
Change /media to your mount point

Then you have to:
1. Manually mount the drive AS your non-root user
or
2. Create some type of logon script that mounts it for you when you login as that user.

This will give that non-root user full access to the partition.
Like I said, I had many people and tried many different entries, but after trying about 10 different fstab entries from 2 different forums, I was left with doing this.

Since then I have formatted the 120GB to reiserfs instead of FAT32, as I only use windows for Counter-Strike.

Let me know how it goes, also if you find an fstab entry that does it properly and automatically, please post it here.

Last edited by zakl; 09-05-2003 at 08:39 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
fstab, fat32, permissions. isaac_e Slackware 7 02-01-2010 10:13 PM
Changing permissions of FAT32 drive frogrocker Ubuntu 2 12-03-2005 05:51 PM
Can't change permissions for FAT32-HD ghanalinux Linux - Hardware 2 06-20-2005 12:10 AM
Can't change permissions for FAT32-HD ghanalinux Linux - Hardware 1 06-17-2005 12:05 PM
Permissions on FAT32 Partition lcdial Linux - Newbie 3 03-28-2004 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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