Re:Dot Dot Considered Harmful
by cyphar on Wednesday November 28, 2018 @07:35PM
(#18557116)
You don't need read access to all parents (on Linux and BSDs at least) -- a privileged can pass a dirfd to a less privileged process and that process can access paths under that dirfd without any permission checks being done for parent directories of the dirfd.
[ Parent
| on HN ]
This is correct. But this is not traversing a path, or even knowing it.