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 11-16-2003, 01:57 PM   #1
fusion1911
LQ Newbie
 
Registered: Aug 2003
Location: Florida Studying (From the UK)
Distribution: Slackware 9.0
Posts: 10

Rep: Reputation: 0
Accessing FAT partitions?


Hey guys hope someone can help me out as i have been hitting my head again a brick wall for a couple of days now. What i want to do is allow a standard user to access files on my FAT32 partitions (which at the moment they can't, keep getting access denied). At first i was chmod and even chown but as i researched some more i read that you must use umask to set rights etc. Well i tried what some site said to do but it was still the same - the standard user can access the FAT32 partitions but can't access the files and folders contained there.
If anyhow can help out it'd be magic as i am so frustrated at the moment.
 
Old 11-16-2003, 02:14 PM   #2
mustafa
Member
 
Registered: Feb 2003
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
this is what i have done. put umask=000 after default like this
default,umask=000
put this in the /etc/fstab (u have to be root) at the row of the partition u would like to be able to mount as a regular user

restart and it should work
 
Old 11-16-2003, 02:14 PM   #3
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Assuming that your FAT32 partition is hda1, then edit your /etc/fstab as follows:

/dev/hda1 /mnt/fat32-c vfat defaults,umask=000 0 2
 
Old 11-16-2003, 02:22 PM   #4
fusion1911
LQ Newbie
 
Registered: Aug 2003
Location: Florida Studying (From the UK)
Distribution: Slackware 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
hmm still cannot get it to work and i tried 3 different ways ... here they are

/dev/hda1 /fat-c vfat defaults,umask=000 1 0
/dev/hda5 /fat-d vfat defaults,umask=000 0 2
/dev/hda6 /fat-e vfat defaults,umask=000 0 2 1 0

that is part of the fstab, but after i save and try to access i still get access denied ... do i need to reboot or something? and which one of the above is the correct format?
cheers guys
 
Old 11-16-2003, 02:26 PM   #5
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Rep: Reputation: 30
mate, you need to be root
 
Old 11-16-2003, 02:27 PM   #6
fusion1911
LQ Newbie
 
Registered: Aug 2003
Location: Florida Studying (From the UK)
Distribution: Slackware 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
yeah i am root when i edit the fstab
 
Old 11-16-2003, 02:33 PM   #7
mustafa
Member
 
Registered: Feb 2003
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
yeah u have to reboot
 
Old 11-16-2003, 02:33 PM   #8
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 30
If the partitions are already mounted and you change something in the fstab you have to remount them with e.g.

mount -r /fat-c
 
Old 11-16-2003, 02:46 PM   #9
fusion1911
LQ Newbie
 
Registered: Aug 2003
Location: Florida Studying (From the UK)
Distribution: Slackware 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
thanks a lot guys .. its all up and running .. cheers all
 
  


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
accessing fat partition in linux Mickaletto Linux - Newbie 5 11-26-2005 06:12 AM
Accessing a FAT partition? or NTFS? cucolin@ Linux - Hardware 5 11-23-2004 07:54 AM
Accessing Fat/NTFS partitions satinet Linux - General 3 09-03-2004 02:16 PM
Accessing FAT partition from fedora linux_ub Linux - General 4 07-09-2004 04:38 PM
Accessing fat-c from Gnome thom Slackware 11 01-13-2004 01:38 PM


All times are GMT -5. The time now is 11:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration