I'm trying to figure out why
find does not find my files, even when they are readable.
I have the following directory
/some set up
drwxr-xr-x 2 root root 4096 Sep 23 16:45 some
It's readable by everybody. Inside the directory I have one file called
-rw-r--r-- 1 root student 157961 Sep 23 16:48 foundme.txt
Now, when I try to find this file as user student, I don't get any results other than permission errors. My understanding was that the directory and file were readable by student (and they are).
Can someone explain why this is failing?
$ find / -name "foundme.txt" find: ‘/root’: Permission denied