jail, unionfs, pwd

From: Denis Shaposhnikov <dsh_at_neva.vlink.ru>
Date: Fri, 01 Oct 2004 15:31:14 +0400
Hi!

Something wrong with unionfs, look at this:

[dsh_at_neva dsh]$ mkdir /mnt/.ro
[dsh_at_neva dsh]$ cp -R /bin /lib /libexec /mnt/
[dsh_at_neva dsh]$ mount_unionfs -r /usr /mnt/.ro
[dsh_at_neva dsh]$ jail /mnt x.x 127.0.0.1 /bin/tcsh
# pwd
/
# cd /.ro
# pwd
/.ro
# cd /.ro/bin
# pwd
pwd: .: No such file or directory

Why pwd said this? What is wrong?

-- 
DSS5-RIPE DSS-RIPN 2:550/5068_at_fidonet 2:550/5069_at_fidonet
mailto:dsh_at_vlink.ru http://neva.vlink.ru/~dsh/
Received on Fri Oct 01 2004 - 09:31:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC