LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-27-2003, 07:36 PM   #1
hejduk
Member
 
Registered: Mar 2002
Location: Canada
Distribution: Slak 8.0
Posts: 39

Rep: Reputation: 15
Unhappy can't access /fat-c from non-root


Hi, I just upgraded from Slak 8.1 to Slak 9.0 and I have a small problem. Like the 8.1 Installation I was given a choice to make my Win 98 partition readable from linux. However, this time I can't seem to access it properly from any non-root logins. Root can read and copy from it fine, but from a user account I can only access the top level of the C: drive. Folders, like "My Documents", only register as files and can't be explored any deeper. I noticed that the permissions on /fat-c were set as follows:

drwxr--r--

chmod 766 or 777 or anything, even as root, doesn't affect the permissions at all. I keep a lot of media files on my windows partition and I really like to access it like before with 8.1 from my user account. Any one know how to solve this???

thanks,
 
Old 03-27-2003, 08:14 PM   #2
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
Does your fstab file (/etc/fstab) allow users to access the partition?
My fstab entry for my FAT32 partition looks like this:
Code:
/dev/hdb2		/mnt/windows		vfat	user		0 0
The "user" argument is what enables my users to read/write to the partition. You should be able to replace it with the name of a specific group. Additionally, ad "noauto" if you don't want the partition mounted on startup. The two 0's don't have any affect on who can access the partition.

Even while I can read/write/create/execute files on my FAT32 partition from Nautilus and Konqueror, applications like OpenOffice.org seem to think the partition is read only. Perhaps access to the partition also depends on what file manager you are using.
 
Old 03-27-2003, 09:44 PM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Try adding 'umask=000' to the options in /etc/fstab.
 
Old 03-27-2003, 10:13 PM   #4
hejduk
Member
 
Registered: Mar 2002
Location: Canada
Distribution: Slak 8.0
Posts: 39

Original Poster
Rep: Reputation: 15
my fstab reads:


/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda1 /fat-c vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


i tried adding umask=000, but it just produced a bad format message upon reboot, probably put it in the wrong spot. very odd it looked the same way under 8.1
 
Old 03-27-2003, 10:17 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
This is mine,
Code:
/dev/hda1   /mnt/win98    vfat    auto,users,rw,umask=000    0   0
 
Old 03-28-2003, 05:54 PM   #6
hejduk
Member
 
Registered: Mar 2002
Location: Canada
Distribution: Slak 8.0
Posts: 39

Original Poster
Rep: Reputation: 15
thanks that did it. where is your affero button?

Also, i've been using linux for a year or so and it seems that this is a problem that I should have been able to solve by myself. I have found that my linux knowledge has been accumulating in a sort of haphazard, need to know basis. Is there any site or resource that anyone could reccomend which presents a more comprehensive approach, but that doesn't stop after the basics have been covered. I'm going through the how-tos right now, but I'd like to find something that ties it all together. Thanks, for suggestions.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FAT 32 access permissions problem gilbertt Linux - Hardware 8 11-10-2005 01:01 PM
Invalid access to FAT Clojster Debian 0 01-11-2005 02:05 AM
grant a user access to /fat-c n0x Slackware 4 05-02-2004 12:10 PM
How do I access a FAT partition in Linux slice4e Linux - Newbie 6 09-04-2003 06:40 AM
Users can't access Fat drives. puntme Slackware 3 08-12-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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