Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2007 19:32:43 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Chris Hill <chris@monochrome.org>
Cc:        "Michael G." <mikegoe@earthlink.net>, freebsd-questions@freebsd.org
Subject:   Re: Users unable to write to mounted FAT32 partition
Message-ID:  <20070303003243.GA92829@gizmo.acns.msu.edu>
In-Reply-To: <20070302192743.T12679@tripel.monochrome.org>
References:  <45E8AFC6.4010207@earthlink.net> <20070302233455.GA92618@gizmo.acns.msu.edu> <45E8C066.4080207@earthlink.net> <20070302192743.T12679@tripel.monochrome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@monochrome.org
> **                     [ Busy Expunging <|> ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070303003243.GA92829>