LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2003, 05:10 PM   #1
spiderworm
Member
 
Registered: Oct 2003
Posts: 41

Rep: Reputation: 15
set perms when mounting vfat?


Hey all,

I'm mounting a windoze drive in fstab, here's the entry:

/dev/hda5 /home/Administrator/winFiles vfat rw,uid=myUser,gid=myGroup 0 0

it mounts with the following permissions:

rwxr--r--

i really need it to mount:

rwxrwxr--

any ideas on how i'd accomplish this?

thanx,
spiderworm
 
Old 11-19-2003, 05:34 PM   #2
spiderworm
Member
 
Registered: Oct 2003
Posts: 41

Original Poster
Rep: Reputation: 15
got it

nevermind, i just happened to run across umask on google right after i posted, in my fstab i added umask=007 which gives me rwxrwx--- which is good enough for me.

now that line in fstab reads:

/dev/hda5 /home/Administrator/winFiles vfat rw,uid=myUser,gid=myGroup,umask=007 0 0

spiderworm
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vfat volume won't allow date to be set TSloth Linux - Newbie 2 10-24-2004 01:12 AM
mounting vfat fs mcd Linux - Newbie 11 08-25-2003 09:51 PM
mounting vfat in mandrake 9.0 bentbike1 Linux - Software 10 04-18-2003 08:48 PM
Mounting Vfat paradoxlight Linux - Software 4 01-15-2002 06:29 PM
Mounting with Vfat garr71 Linux - General 4 11-29-2001 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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