> It does not. It searches for readable files. Look at > findcmd.c:find_path_file().
That's true, I stand corrected. I was thinking of the find_user_command function because it's what I based the find_user_library function on. They are all implemented in terms of the find_user_command_internal. The find_user_command function passes FS_EXEC_PREFERRED|FS_NODIRS while find_path_file just passes FS_READABLE. I suppose I should also have passed FS_READABLE. Matheus