LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vfat and suse 9 (https://www.linuxquestions.org/questions/linux-newbie-8/vfat-and-suse-9-a-118931/)

gbj 11-22-2003 02:19 PM

vfat and suse 9
 
Hello I'm using SUSE 9 pro and I'm having problems with file permissions. I have two vfat drives that I want to be able to write/read/execute as a normal user. I understand that I have to modify the etc/fstab file but when I tried to follow the advice on other posts all folders within the drives disappeared. Here is my fstab entries for my vfat drives..

/dev/hdd5/windows/ShareA vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0

/dev/hdb5/windows/ShareB vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0

any help will be greatly appreciated..

TigerOC 11-22-2003 02:46 PM

Under options try just using defaults,umask=000 - it works for me. You have also created the mount points Share A and B under /mnt haven't you?

gbj 11-22-2003 03:05 PM

thanks ill try that and no I haven't created mount points in /mnt. During installation SuSE mounted the drives at /windows. Is there any need to create mount points in /mnt? And if so how would I go about doing that?

michaelk 11-22-2003 03:20 PM

No need to create another directory. Most other distributios use /mnt for mounting removable media and other shared directories. SuSE is different and uses /media instead.

However, FYI to create a directory use the mkdir command. See man pages for additional help

gbj 11-22-2003 03:37 PM

so my fstab entry should look like this?
/dev/hdd5/windows/ShareA vfat defaults,umask=000,iocharset=iso8859-1,code=437 0 0

michaelk 11-22-2003 04:03 PM

Quote:

Originally posted by gbj
so my fstab entry should look like this?
/dev/hdd5/windows/ShareA vfat defaults,umask=000,iocharset=iso8859-1,code=437 0 0

Make sure there is a space between /dev/hdd5 and /windows/ShareA. Look at the man pages for mount and fstab to see what defaults option means.

/dev/hdd5 /windows/ShareA vfat users,umask=000,iocharset=iso8859-1,code=437 0 0

gbj 11-22-2003 05:04 PM

ok thanks for your help


All times are GMT -5. The time now is 06:15 PM.