[OS X Emacs] Can't Find File/Directory

Robert Love rblove_lists at comcast.net
Sat Nov 7 11:41:11 EST 2020


I used C-x C-f to try and find a file in my Documents directory.   As soon as I have specified /Users/rlove/Documents    it produces errors on another window.

Debugger entered--Lisp error: (file-error "Opening directory" "Operation not permitted" "/Users/rlove/Documents/")
  file-name-all-completions("" "/Users/rlove/Documents/")
  ido-file-name-all-completions-1("/Users/rlove/Documents/")
  ido-file-name-all-completions("/Users/rlove/Documents/")
  ido-make-file-list-1("/Users/rlove/Documents/")
  ido-make-file-list("Documents/")
  ido-read-internal(file "Find file: " ido-file-history nil confirm-after-completion nil)

So I remove ido from my .emacs and still have issues.

If I do a ls -l@ I see there are attributes set on the directory, many of them but none seem fatal.    

My emacs is:
GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
 of 2020-08-12

It’s only emacs that seems to have troubles reading this.  From the terminal I can cd and ls that directory easily.  vi and other editors can open the file.

How can I get emacs to read the directory?  Or what can I change on the directory?

All advice appreciated.


More information about the MacOSX-Emacs mailing list