Re: Chroot Jail Fiasco

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I must be missing something here. // *is* /. Any double // in a path is equivalent to /. Try it anywhere in your directory tree, e.g. cd /usr//bin

I don't know of any special semantics for //.

Peter

Brett Franck wrote:
Ok, now I've done it......I was making a chroot jail, and how did this happen.....
[root@www /]# ls
bin boot dev dilbert etc home ibm initrd lib lost+found misc mnt opt proc root sbin tftpboot tmp usr var
[root@www /]# cd //
[root@www //]# ls
bin boot dev dilbert etc home ibm initrd lib lost+found misc mnt opt proc root sbin tftpboot tmp usr var
[root@www //]#
I ended up with // in / ?????? How do I rm -rf the chroot jail in slash without rm'ing my entire drive????

-- Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux