Re: Problems write access on vfat partition
On Tue, 2002-08-13 at 11:27, Patrick Wiseman wrote:
> On Tue, 13 Aug 2002, Stephen Gran wrote:
>
> > This one time, at band camp, Matthias Daub said:
> > > I am trying to mount my Win32 data partition so that I am able to use
> > > it under Debian as well. My fstab for this partition looks like this:
> > >
> > > /dev/hda5 /mnt vfat rw,user,auto,exec 0 0
> > >
> > > I have full read access but I have no write access. Do you any idea of
> > > how to change that?
> > >
> > > Thank you!
> >
> > vfat doesn't understand user/group permissions at all, so when a vfat
> > partition is mounted, IIRC, the kernel gives it user/group ownership
> > based on who mounted it. If it's mounted at boot time, it gets
> > user/group root, and you can read it but not write to it. Try noauto in
> > fstab, and then mount it as a user - you should now have write access to
> > it. If you find it obnoxious to have to do by hand every time, you
> > could put a line in .bashrc and .bash_logout to handle
> > mounting/umounting if you want.
>
> Or you could put uid,gid in the definition in fstab, e.g.:
>
> rw,auto,uid=500,gid=500
>
Or, allow any user to read/write but not execute:
auto,noexec,umask=000
--
First Impressions are Bunk.
Reply to: