LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I really hate posting this fstab question but... (https://www.linuxquestions.org/questions/linux-newbie-8/i-really-hate-posting-this-fstab-question-but-149717/)

prcarp 02-23-2004 06:20 PM

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

jtshaw 02-23-2004 06:24 PM

I think if you remove the umaks=0000 it might work for you.

prcarp 02-23-2004 08:20 PM

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?

Demonbane 02-23-2004 09:55 PM

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


All times are GMT -5. The time now is 07:21 AM.