View previous topic :: View next topic |
Author |
Message |
charliedontsurf n00b
Joined: 22 Jun 2002 Posts: 13 Location: Austin, TX
|
Posted: Wed Aug 27, 2003 12:52 am Post subject: User can't cd to a vfat mount |
|
|
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! |
|
Back to top |
|
|
x20vmk4x n00b
Joined: 23 Aug 2003 Posts: 40
|
Posted: Wed Aug 27, 2003 5:49 am Post subject: |
|
|
add 'umask=0000' to the options part in ur fstab |
|
Back to top |
|
|
charliedontsurf n00b
Joined: 22 Jun 2002 Posts: 13 Location: Austin, TX
|
Posted: Wed Aug 27, 2003 6:16 am Post subject: |
|
|
That worked!
Before I posted, I played around with umask (and dmask), but I never tried that value.
Thanks! |
|
Back to top |
|
|
|
|
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
|
|