Subject: Re: [vserver] Mapping vserver files into other vservers?
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Tue, 31 Jul 2007 16:46:42 +0200 (CEST)

Markus Fischer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> this is similar to what Christoph was asking, I've also been using rbind
> for a while.
>
> On my host-system I've the directory /data/ and within is
> /data/vservers/ where all vserver files are placed.
>
> I've now mapping the hosts /data into each vservers' /data, however when
> inside a vserver I can't change to the /data/vservers directory, I get a
> "Permission denied".

This is most likely due to the barrier, which is what's keeping your
guests from escaping their chroots. showattr /data/vservers on the host
should tell you that for certain.

Why do you want your guests to have access to other guests anyway?

> Is there a flag I can set to access this directory? In my case I would
> rely on UID/GID permissions. But whats weird is that even as root inside
> the vserver I can't change into this directory.
>
> thanks,
> - - Markus
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGrsIa1nS0RcInK9ARAhySAKCFgxv2QIEVaTd+TQUr/0LU2sLb9QCgl0m4
> ncWM5mOj3/UJK/q58VttlC0=
> =OLVx
> -----END PGP SIGNATURE-----


-- 
Daniel Hokka Zakrisson