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 11-22-2003, 03:19 PM   #1
gbj
Member
 
Registered: Jul 2003
Posts: 142

Rep: Reputation: 15
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..
 
Old 11-22-2003, 03:46 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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?
 
Old 11-22-2003, 04:05 PM   #3
gbj
Member
 
Registered: Jul 2003
Posts: 142

Original Poster
Rep: Reputation: 15
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?
 
Old 11-22-2003, 04:20 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
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
 
Old 11-22-2003, 04:37 PM   #5
gbj
Member
 
Registered: Jul 2003
Posts: 142

Original Poster
Rep: Reputation: 15
so my fstab entry should look like this?
/dev/hdd5/windows/ShareA vfat defaults,umask=000,iocharset=iso8859-1,code=437 0 0
 
Old 11-22-2003, 05:03 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
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
 
Old 11-22-2003, 06:04 PM   #7
gbj
Member
 
Registered: Jul 2003
Posts: 142

Original Poster
Rep: Reputation: 15
ok thanks for your help
 
  


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
vfat in Suse 9.2 x86_64 (dvd-install) ultra2005alpha Linux - Software 1 03-05-2005 09:22 PM
Spurious change of permissions on a VFAT partition under SuSE 8.2 R4cOOn Linux - General 2 10-24-2003 12:26 PM
vfat mounten snu *BSD 1 07-06-2003 06:09 AM
vfat InsaneBob Linux - Software 1 03-22-2003 12:01 PM
copy files from vfat to vfat from linux? purpleburple Linux - General 2 12-11-2002 04:24 PM


All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration