Subject: bug#53739: 28.0.91; "C-x d" fails when "emacs -Q" starts on NetBSD with plan9/bin on head of PATH

From: Van Ly <[email-masked]>
Date: Wed, 2 Feb 2022 22:12:31 +0000 (UTC)

For the following interactive shells:

* /bin/sh
* /usr/pkg/bin/zsh
* /usr/local/plan9/bin/rc

when "/usr/local/plan9/bin" is at the head of the PATH environment
variable and entry to GNU Emacs is by "emacs -Q", inside GNU Emacs the
dired command fails

# steps to reproduce behavior
* start by 'emacs -Q'
* list directory by 'C-x d'

# observed behavior
# minibuffer echo area says

> insert-directory: Listing directory failed but `access-file' worked

# expected behavior
# window displays listing of Dired, for example

'''
   /usr/X:
   total used in directory 96K available 72 GiB
   1966113 drwxr-xr-x  2 501 4.0K Jan 30 15:00 Articles
   1977600 drwxr-xr-x  3 501 4.0K Jan 31 07:11 Books
   1977546 drwxr-xr-x  2 501 4.0K Jan 26 20:00 Configurations
   1977542 -rw-r--r--  1 501 7.7K Jan 30 17:49 emacs-lisp.text
'''

-- 
vl