Traverse symlinks except for the last path segment, so we retain the ability to explicitely reference symlinks.
Traverse symlinks except for the last path segment, so we retain the ability to explicitely reference symlinks.