On 2006.03.08 09:10:39 +1100, Tony and Robyn Lewis wrote:
> I can't seem to get the chroot-barrier to work.
> 
> == in guest, before setting chroot-barrier ==
> [EMAIL PROTECTED]:~$ date
> Tue Mar  7 21:43:19 UTC 2006
> 
> == in host, turning on chroot-barrier ==
> [EMAIL PROTECTED]:~$ sudo setattr --barrier /var/lib/vservers/rice

The barrier should be set on the parent directory, so the correct thing
to do would be:
setattr --barrier /var/lib/vservers/rice/..

> == in guest, after chroot-barrier ==
> [EMAIL PROTECTED]:~$ date
> -bash: /bin/date: Permission denied

Yep, cause you just denied access to the guest's / directory :)

HTH
Björn
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to