[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in UNIX command "rm" !!
From: |
KADIMIL DARJI |
Subject: |
Bug in UNIX command "rm" !! |
Date: |
7 Nov 00 09:55:14 MST |
Hello,
I am Kadimil Darji from Ahmedabad, Gujarat, INDIA.
I have come across a bug in UNIX.The following describes it.
Follow the sequence :
(Assume that you are in your home directory)
$ mkdir parent1
$ cd parent1
$ mkdir parent2
$ cd parent2
$ mkdir a b c
$ cd a
$ mkdir x y z
$ cd x
$ mkdir d e f
$ pwd
$HOME/parent1/paren2/a/x
$ rm -r ../../../parent2
$ pwd
$HOME/parent1/parent2/a/x
$ mkdir o p
Permission denied
$
Here I am able to remove the parent directory while remaining in the chile ,
which should not be allowed.This must be called as a bug.The amazing thing is
after removing the parent directory I am still in the child directory !!
The last command won't work because you are in no present working directory
!! What an amazing thing , no present working directory !!
I think this is a BUG...
Waiting for your prompt reply ( any, positive or negative )
Thank you,
Kadimil...
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in UNIX command "rm" !!,
KADIMIL DARJI <=