emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gb


From: No Wayman
Subject: Bug: org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)]
Date: Tue, 04 May 2021 14:26:23 -0400
User-agent: mu4e 1.5.13; emacs 28.0.50


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/)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]