Users unable to write to mounted FAT32 partition

Jerry McAllister jerrymc at msu.edu
Sat Mar 3 00:35:25 UTC 2007


On Fri, Mar 02, 2007 at 07:30:50PM -0500, Chris Hill wrote:

> On Fri, 2 Mar 2007, Michael G. wrote:
> 
> >Owner of /mydos is root and Group is wheel.  User has rwx while Group 
> >and Other only have r-x
> 
> Well, there it is. I think users who want to write to this filesystem 
> need to have write permission on the mountpoint. How about creating a 
> group, perhaps "users", of which all users are members, then chown 
> root:users /mydos, then chmod 775 /mydos

That would be my thinking.
Maybe make a mydos group and only put users in that you want to
be able to r/w the mydos slice instead of everybody and then chown 
it to root:mydos would seem 'safer' if there are a bunch of users 
on the machine.

////jerry

> 
> >Jerry McAllister wrote:
> >>On Fri, Mar 02, 2007 at 05:14:14PM -0600, Michael G. wrote:
> >>
> >>>OK, I've scoured the archives for an answer with no results.  I'm 
> >>>sharing a FAT32 partition between XP and 6.2 Release.  The problem 
> >>>is I can mount the drive but only root can write to it (users can 
> >>>just read).  I have the following in fstab:
> >>>
> >>>/dev/asd42        /mydos        msdosfs     rw  0 0
> >>>
> >>>I've tried adding the -u or -g option with no luck.  I understand 
> >>>that since FAT has no inherent permissions chmod has no effect 
> >>>either (tried it just to be sure) so it must be set from fstab. 
> >>>Any help?
> >>
> >>What are the owner and permissions on the mount point  (/mydos)?
> 
> --
> Chris Hill               chris at monochrome.org
> **                     [ Busy Expunging <|> ]


More information about the freebsd-questions mailing list