At Wed, 18 May 2005 00:23:11 -0400,
Alfred M. Szmidt wrote:
> 
>    Breaking out of a chroot on the Hurd is trivial: just use a passive
>    translator.
> 
> I couldn't reproduce this...
> 
> Script started on Wed May 18 06:19:32 2005
> [EMAIL PROTECTED]:~$ cd chroot
> [EMAIL PROTECTED]:~/chroot$ ids
> effective uids: 1002(ams)
> effective gids: 1002(ams)
> available uids: 1002(ams) 1002(ams)
> available gids: 1002(ams) 1002(ams) 1002(ams)
> [EMAIL PROTECTED]:~/chroot$ chroot .
> bash-3.00$ showtrans root
> bash-3.00$ settrans -p root /hurd/firmlink /
> bash-3.00$ showtrans root
> /hurd/firmlink /
> bash-3.00$ cd /

This bit is wrong.  root now gives access to the real root (or at
least the root in the file system's name space).


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to