fat-based fs mount bug??

The SethMeister (consp05@binghamton.edu)
Sat, 17 May 1997 21:30:29 -0400


>
>Hi,
>
>I think that the following is a bug. (More likely kernel than mount, I
>think.) I'm not au-fait with what POSIX says about fs mounting and by
>whom, but believe that there is a problem somewhere here...
>
>I first noticed it a while back (prob 2.1.28 or so), but couldn't spot the
>pattern (and didn't know whether I was just being inept), so I let it lie.
>
>When I try to mount a fat-based (msdos or fat) fs from an "su" shell, it
>sets the permissions (on the mount dir /mnt/dosd/) from "drwxr-xr-x" to
>"drwx--x--x". This means that only root can read the stuff on my dosd
>partition, which is inconvenient. If, however, I use "su -", everything
>is fine. Similarly if I login as root.

Are you perchance running umask in root's profile or cshrc? It has been my
experience that whatever the umask of root is when the filesystem is
mounted is the permissions which the entire filesystem is mounted under
(for vfat) I am not sure if there is a way of overriding this on the mount
ocmmand line but I suspect there is :)

-Seth