Re: mount --bind and -o [re: nosuid/noexec/nodev handling]

From: Ville Herva (vherva@mail.niksula.cs.hut.fi)
Date: Mon Oct 15 2001 - 01:53:24 EST


> On Mon, 15 Oct 2001, Bernd Eckenfels wrote:
>
> > In article <20011014185908.P1074@niksula.cs.hut.fi> you wrote:
> > >> mount --bind /home/luser /home/luser
> > >> mount -o remount,noexec /home/luser
> >
> > Thats nice! For example on Debian GNU/Linux one can mount /var with noexec

Yes, it is very useful, and I keep finding new uses for it all the time.

Sadly, userspace support for it is not perfect; for example cp/rsync
--one-filesystem does not see --bind mount point as a filesystem boundary.

-- v --

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



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:56 EST