LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2003, 05:28 PM   #1
Nicolae
LQ Newbie
 
Registered: Aug 2003
Distribution: kubuntu
Posts: 19

Rep: Reputation: 0
Setting up FAT32 access for non-root accounts in Slack 9?


Every time I try to access them with a user account (/fat-c and fat-d, respectively), the folders show up as being empty, but they show up fine as root.

what do I have to do to fix this?
 
Old 10-22-2003, 06:21 PM   #2
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
Simply chmod'ing the permissions of the mount point won't
help. Use mount with the uid, gid and umask options - consult
mount's manpage for details. I'm mounting my FAT partitions
with
uid=0,gid=1001,umask=002
which gives all members of group 1001 read/write and
all other users read permission.

Make sure you have the partition in your /etc/fstab, it has to look
something like this:

/dev/hda3/data vfatuser,uid=1000,rw,exec,devmode=0666

Now all you gotta do is type
"mount /data"
as normal user in terminal/shell. Note that you're not supposed to type
"mount /dev/hda3 /data" because only root can do that.

i didnt write these just copied them from somewhere else on the net

Last edited by Fascistchicken; 10-22-2003 at 06:55 PM.
 
Old 10-22-2003, 08:28 PM   #3
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
My /etc/fstab looks like this for the fat32 drive/partition.

/dev/hda1 /cdrive vfat umask=000, 0 0
/dev/hdb3 /ddrive vfat umask=000, 0 0


Works very well.
 
  


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
No access to FAT32 for non-root user kornerr Slackware 4 01-02-2005 02:55 PM
Setting up new user accounts Veladrin Linux - Newbie 6 07-26-2004 12:16 PM
only root can access my fat32 and ntfs partitions on Mandrake 9.2 el_pajaro! Mandriva 2 02-03-2004 05:19 AM
Only root can access FAT32 drive? morrolan Linux - Software 2 01-06-2004 08:57 AM
2 fat32 partitions on fbsd5/w2k dual. Can only access one fat32 so far.. mipia *BSD 1 10-06-2003 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:53 PM.

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