Re: uid of user who mounts

From: Miklos Szeredi
Date: Sat Jul 31 2004 - 12:33:37 EST



Steve French wrote:
>
> I confirmed what Randy had mantioned about the user= entries in mtab
> allowing umounts (at least it works that way for a few of the local
> filesystems I tried) but did not seem to work so well on other
> filesystems - I had odd results on umounting my cifs mounts e.g. - after
> adding at mount time "user=someuser" to /etc/mtab (by a minor change to
> the mount helper mount.cifs.c, when running mount.cifs suid). umount of
> those mounts failed

I've seen failure to unmount only if there is no matching entry in
/etc/fstab. It sounds a bit too much paranoia, but who knows.

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/