LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   What am I doing wrong in my Fstab? Mounting for Users (https://www.linuxquestions.org/questions/slackware-14/what-am-i-doing-wrong-in-my-fstab-mounting-for-users-113348/)

jimdaworm 11-07-2003 04:04 AM

What am I doing wrong in my Fstab? Mounting for Users
 
I must have done somthing stupid wrong here... when I log in as a user and try to access the two vfat partitions it says permission denied.

Here is my fstab:

/dev/hda8 swap swap defaults 0 0
/dev/hda7 / ext2 defaults 1 1
/dev/hda6 /mnt/red ext2 defaults 1 2
/dev/hda5 /mnt/backup vfat auto,user,ro 0 0
/dev/hda1 /mnt/win98 vfat auto,user,ro 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

I only need read access because I want to listen to my MP3īs !

Thanks
Adam

Y0jiMb0 11-07-2003 04:08 AM

Hi!
maybe this can help you

http://www.linuxquestions.org/questi...hreadid=112941

Regards

slakmagik 11-07-2003 10:18 AM

I think 'auto' and 'user' means that it's being mounted at boot (so by root, in essence) and is restricted to the 'user' who mounted it. So just change 'user' to 'users' and you should be able to access it as a normal user.

Skyline 11-07-2003 11:38 AM

For a FAT32 filesystem I'd use:

defaults,umask=000

in the 4th field of the relevant entries in /etc/fstab

jimdaworm 11-07-2003 01:46 PM

Thanks for the info!
 
Thanks guys I am going to give these ideas ago... I am pretty sure I will get it to work now, but will get back to you with my results!


Thanks again for the help Skyline digiot and Y0jiMb0

Adam


All times are GMT -5. The time now is 04:23 PM.