Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The whole VFS is an illusion, it's totally possible for the filesystem driver to say one thing in readdir(3) and another thing in fopen(3).


Related fun fact: if you have +x but not +r on a directory, you can traverse it (access things whose names you know), but not view its contents (`ls` won't work).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: