Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2007 20:07:37 -0600
From:      "Michael G." <mikegoe@earthlink.net>
To:        Chris Hill <chris@monochrome.org>
Cc:        Jerry McAllister <jerrymc@msu.edu>, freebsd-questions@freebsd.org
Subject:   Re: Users unable to write to mounted FAT32 partition
Message-ID:  <45E8D869.8070007@earthlink.net>
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
Chris,
     A mod of your suggestion did the trick.  I was unable to finally 
"chown Michael /mydos" and then change permissions using chmod.  Seems 
pretty simple but kinda strange that as root I could not change the 
permissions.

Thanks to you and Jerry for all the help!

Michael G.

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
>
>> 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)?
>



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