jail, unionfs, pwd
Denis Shaposhnikov
dsh at vlink.ru
Fri Oct 1 04:28:39 PDT 2004
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/
More information about the freebsd-current
mailing list