LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2004, 06:20 PM   #1
prcarp
LQ Newbie
 
Registered: Feb 2004
Location: Lynchburg, VA
Distribution: Slackware 9.1/Fedora Core 2
Posts: 17

Rep: Reputation: 0
I really hate posting this fstab question but...


... I searched all the forums and tried all postings but still can't seem to get this 100% right.

I installed Slackware 9.1 on a free partition along side Windows ME formatted with FAT32. There is also another harddrive with WinME and FAT32. During the Slackware installation, it asked me if I wanted access to these drives and I answered 'yes'. They are automatically mounted as /fat-c and /fat-d. When I log in as root, I can go into these directories, edit existing files, and overwrite them just fine. When I log in as another user (uid=1000, primary group=users, alt group=root), I can go into these directories and although I can read existing files, I can not overwrite them. I do have the ability to create new files in those directories. I tried all the fstab suggestions I've seen posted here on linuxquestions (great site, BTW) but I haven't found my answer. I've even tried the alternative sites as one posting suggested - it helped me understand the fstab options better but did not solve my problem entirely.

Here is my fstab:
Code:
/dev/hdb5        swap             swap        defaults         0   0
/dev/hdb6        /                ext2        defaults         1   1
/dev/hda1        /fat-c           vfat        auto,users,rw,umask=0000,gid=users  1  0
/dev/hdb1        /fat-d           vfat        auto,users,rw,umask=0000,gid=users  1  0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,users,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,users     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
How do I get *full* read/write access (i.e. overwrite existing files) from a user (non-root) account?

Thanks, and I appologize if this sort of thing is over-posted.
-Paul
 
Old 02-23-2004, 06:24 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I think if you remove the umaks=0000 it might work for you.
 
Old 02-23-2004, 08:20 PM   #3
prcarp
LQ Newbie
 
Registered: Feb 2004
Location: Lynchburg, VA
Distribution: Slackware 9.1/Fedora Core 2
Posts: 17

Original Poster
Rep: Reputation: 0
I removed the umask=0000 and tried it. Now I get "Access denied" when I try to go into the /fat-c directory. I believe the umask=0000 is definately needed. Thanks, though.

I saw some other examples where the option "codepage=737" was used or an isotype (?) was specified. The books I have and the web info I found were vague in this area. Anybody have any thoughts on this?

Or am I just missing something really simple?
 
Old 02-23-2004, 09:55 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
The codepage should have no effect on the permissions, try chmod files and directories in your fat32 partition.
 
  


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
Usenet Posting/E-Mail Security Question. rvijay Linux - Security 2 08-20-2005 11:49 PM
Question about posting on these forums... vinoloco General 2 04-08-2005 05:54 PM
Yay, first time posting from linux ever! (question) kanga246 Slackware 11 11-04-2004 09:20 PM
Question about posting here webwolf70 Programming 11 09-23-2004 07:29 AM
PnP modem is making me crazy......help..I hate posting. jester Linux - Newbie 2 02-12-2001 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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