Hello,

I suppose this is a designing issue or a bug:

You can remove an empty directory as you like, even if you don't have the
right to read, write nor execute:

f...@ubuntu:~/Unix_Tutorial_8/5$ mkdir test
f...@ubuntu:~/Unix_Tutorial_8/5$ ls -l
total 4
drwxr-xr-x 2 fu fu 4096 2009-08-12 06:39 test
f...@ubuntu:~/Unix_Tutorial_8/5$ chmod ugo-rwx test/
f...@ubuntu:~/Unix_Tutorial_8/5$ ls -l
total 4
d--------- 2 fu fu 4096 2009-08-12 06:39 test
f...@ubuntu:~/Unix_Tutorial_8/5$ rmdir test
f...@ubuntu:~/Unix_Tutorial_8/5$ ls -l
total 0
f...@ubuntu:~/Unix_Tutorial_8/5$



-- 
Zhoulai FU

Ecole Polytechnique (X-2005)
Telecom Paris (2010)

Reply via email to