Re: mounting a fs in two places at once?

2001-06-27 Thread Chris Wedgwood
On Wed, Jun 27, 2001 at 10:22:17AM -0400, Alexander Viro wrote: > If you want root-proof analog of chroot - fine, but that will require > at least taking away the ability to mount/umount anything. How does FreeBSD implement this with jails? Don't jailed people get dummy /dev access that is more

Re: mounting a fs in two places at once?

2001-06-27 Thread Ben Ford
Chris Wedgwood wrote: >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 ide

Re: mounting a fs in two places at once?

2001-06-27 Thread Alexander Viro
On Thu, 28 Jun 2001, Chris Wedgwood wrote: > 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 s

Re: mounting a fs in two places at once?

2001-06-27 Thread Chris Wedgwood
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

Re: mounting a fs in two places at once?

2001-06-25 Thread Ben Ford
Marty Leisner wrote: > >/dev/hda10 on /mnt type ext2 (rw) >/dev/hda10 on /home type ext2 (rw) > > >Is this a feature or a bug? > 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

Re: mounting a fs in two places at once?

2001-06-24 Thread Richard Gooch
Alexander Viro writes: > > > On Sun, 24 Jun 2001, Marty Leisner wrote: > > > I just installed redhat 7.1 on a system. > > > > Cleaning up, a made a fs for home...(mounted on /mnt > > to write the stuff to it) > > > > Then I accidently mounted it on /home. > > > > So it was mounted on /home a

Re: mounting a fs in two places at once?

2001-06-24 Thread Jeff Chua
On Sun, 24 Jun 2001, Marty Leisner wrote: > Is this a feature or a bug? > > This is with 2.4.2... > feature. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-inf

Re: mounting a fs in two places at once?

2001-06-24 Thread Alexander Viro
On Sun, 24 Jun 2001, Marty Leisner wrote: > I just installed redhat 7.1 on a system. > > Cleaning up, a made a fs for home...(mounted on /mnt > to write the stuff to it) > > Then I accidently mounted it on /home. > > So it was mounted on /home and /mnt at the same time. > (I didn't bother go

mounting a fs in two places at once?

2001-06-24 Thread Marty Leisner
I just installed redhat 7.1 on a system. Cleaning up, a made a fs for home...(mounted on /mnt to write the stuff to it) Then I accidently mounted it on /home. So it was mounted on /home and /mnt at the same time. (I didn't bother going in to see what was there). Shouldn't this NOT happen? [root