I'm tangling my early-init/init.el with the :tangle-mode header
arg set to (identity (#o444)).
The idea behind this was to prevent myself from accidentally
editing the tangled source files
instead of the Org files. Unfortunately, since a3cb9b853 there
seems to be a behavior change for org-babel-tangle which prevents
this. An abbreviated stacktrace which shows the error when I try
to tangle my files:
Debugger entered--Lisp error: (file-error "Opening output file"
"Permission denied" "/home/n/.emacs.d/early-init.el")
write-region("" nil "~/.emacs.d/early-init.el" nil 0)
Any way to work around this?
Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X
toolkit, cairo version 1.17.4, Xaw3d scroll bars)
of 2021-05-03
Package: Org mode version 9.4.5 (9.4.5-gbc2659 @
/home/n/.emacs.d/straight/build/org/)