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:

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


Thanks!
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to