> __hurd_file_name_lookup already does it, the problem here is that > before calling it, chdir() systematically appends "/." . Or perhaps > a cleaner solution would be to not append "/." in that case and let > __hurd_file_name_lookup return ENOENT? Cleaner would be to to just pass it O_DIRECTORY. Thanks, Roland