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

Ville Herva (vherva@mail.niksula.cs.hut.fi)
Mon, 15 Oct 2001 09:53:24 +0300


> 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/