Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
User can't cd to a vfat mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
charliedontsurf
n00b
n00b


Joined: 22 Jun 2002
Posts: 13
Location: Austin, TX

PostPosted: Wed Aug 27, 2003 12:52 am    Post subject: User can't cd to a vfat mount Reply with quote

I am mounting a windows partition with the following fstab entry:

Code:
/dev/hdd1   /mnt/win_d_drive  vfat noexec,user,dev,ro,suid,auto,async 0 0


Before I do the mount, the permissions at the mount point look like this:

Code:
drwxr-xr-x    2 root           48 Aug 26 16:39 win_d_drive/


So that "all" can cd into it, but after I "mount -a" as root, the permissions look like:

Code:
drwxr--r--   23 root          16K Dec 31  1969 win_d_drive/


So, after the mount, a regular user can't cd into the dir.

Can someone tell me what I'm doing wrong?

Thanks! :D
Back to top
View user's profile Send private message
x20vmk4x
n00b
n00b


Joined: 23 Aug 2003
Posts: 40

PostPosted: Wed Aug 27, 2003 5:49 am    Post subject: Reply with quote

add 'umask=0000' to the options part in ur fstab
Back to top
View user's profile Send private message
charliedontsurf
n00b
n00b


Joined: 22 Jun 2002
Posts: 13
Location: Austin, TX

PostPosted: Wed Aug 27, 2003 6:16 am    Post subject: Reply with quote

That worked!

Before I posted, I played around with umask (and dmask), but I never tried that value.

Thanks! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum