found 390126 2.86.ds1-33 block 392136 by 390126 thanks Hi,
On my system, the following is true, which is scary. [EMAIL PROTECTED]:/proc/1# ls root/home/dancer/Mail/inbox -d root/home/dancer/Mail/inbox [EMAIL PROTECTED]:/proc/1# ls /home/dancer/Mail/inbox -d ls: /home/dancer/Mail/inbox: No such file or directory I am doubting the following is the correct way to figure out whether it's a chrooted environment. Root user seems to be able to access /proc/1/root +chrooted() { + if [ -r /proc/1/root ]; then + return 1 + fi + return 0 +} My kernel may be a bit different since I live off git tree, so that might depend on the kernel. Linux dancer64 2.6.18dancer-dirty #1 PREEMPT Thu Sep 21 06:50:05 JST 2006 x86_64 GNU/Linux regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]