path resolution
The kernel's process of walking a path like /srv/data/report one directory at a time to find the file it names.
In more detail
At each step the kernel checks that the process has search permission on the directory it is passing through. A missing search bit on any parent directory makes the whole path fail with permission denied, even if the final file is readable. That is why access problems sometimes live in a parent directory.
Related terms
- search permission — The execute bit on a directory, which allows a process to pass through it to reach files and subdirectories inside.
- directory entry — One line in a directory's table that maps a file name to an inode number.
- inode — The record a filesystem keeps for each file, holding its owner, mode, size, timestamps, link count and the location of its data blocks, but not its name.
Taught in
- Reading And Setting A File Mode — Linux Fundamentals & Systems Administration