Paul Eggert wrote: > Alan Third wrote: >> Only with symlinks faccessat returns success if it’s pointing to a >> file and you put ‘/’ on the end. > > This is a well-known problem on macOS, and Emacs is supposed to compile a > replacement fstatat function Whoops, you were writing about faccessat whereas I was thinking about fstatat. Please ignore my previous email, and sorry about the confusion. Apparently macOS faccessat has a problem similar to fstatat. Gnulib did not work around the faccessat problem, so I wrote and installed a fix for this into Gnulib and installed the attached patch into the emacs-26 branch. Please give it a try.