bug-coreutils
[Top][All Lists]
Advanced

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

bug found from ls command


From: PG
Subject: bug found from ls command
Date: Mon, 6 Jul 2009 22:21:25 -0700

Dear coreutils,

Actually, I'm not sure if ls is the perpetrator, but maybe you guys can find
out where things go wrong. I do not think that the filename "canttouchthis"
should be listed when I am not root in the following situation:

address@hidden:/home/xinwei/bugreport# ls -l
total 4
d---r--r-- 2 root root 4096 2009-07-05 13:27 protected
address@hidden:/home/xinwei/bugreport# ls -l protected
total 0
-rw-r--r-- 1 xinwei xinwei 0 2009-07-05 13:27 canttouchthis
address@hidden:/home/xinwei/bugreport# exit
address@hidden:~/bugreport$ ls -l protected/
ls: cannot access protected/canttouchthis: Permission denied
total 0
-????????? ? ? ? ?                ? canttouchthis
address@hidden:~/bugreport$ find ./ -name canttouchthis
address@hidden:~/bugreport$ sudo !!
sudo find ./ -name canttouchthis
./protected/canttouchthis
address@hidden:~/bugreport$


Thanks!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]