Re: regular user can't umount automount drive
On Sun, 13 Mar 2011 21:34:55 +0000
Jonathan Matthews <email@example.com> wrote:
> On 11 March 2011 06:32, <firstname.lastname@example.org> wrote:
> > Howdy,
> > Here's the option line from the auto.media file:
> > /media/thingy -fstype=vfat,users,flush,rw,umask=0000 :/dev/ipod
> > I could have sworn this was working...
> > I posted a while back and found out that the "users" option had to
> > be in there.
> The option specified by mount(8)'s manpage is "user", not "users". I
> don't recall if that relates to the automounter at all.
it's deja vu all over again :-)
this was the issue last time, I was using "user", and since automount,
i.e. the system was mounting the filesystem I could not umount. So I
changed the keyword to users and everything was working fine, until
when you use "user" only the user who mount'ed can umount, therefore
the "user" keyword will not work for an automounted filesystem.
#$#%@%!! The problem is that there must be an fstab entry !! Putting
an fstab entry in allows me to umount the device.
Isn't this a bug ? Since automount is invoking mount with the users
option, shouldn't I be able to umount ?
Maybe this little gem from the man page for mount is a hint:
Some of these options are only useful when they appear in the
Hey, how about discussing which options fall into that category. It's
certainly not obvious to me that "users" should.
I think that is the problem. Observe the flags reported when I enter
the mount command with no args:
Notice that users does no appear in the list although the flush and
umask settings do.
ugh. why does everything have to be so hard...