Re: mounting a fs in two places at once?

From: Chris Wedgwood (cw@f00f.org)
Date: Wed Jun 27 2001 - 07:48:54 EST


On Mon, Jun 25, 2001 at 02:20:16AM -0700, Ben Ford wrote:

> Feature. It actually makes it quite nice when you want to allow
> chrooted user(s) access to a common directory, you just mount a
> partition in all the users home dirs.

For security, this can be a bad idea.

Potentially, chrooted user can mess with another, by messing with
libraries and such like. In most cases not terribly easy, but in some
cases possible.

No, if the fs was mounted RO, then I assume you would have less to
worry about. Its a pity the VFS code doesn't allow you to fix RO & RW
of the same fs.

  --cw

-
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 : Sat Jun 30 2001 - 21:00:16 EST