From: No Wayman <iarchivedmywholelife@gmail.com>
To: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <875yzy73k0.fsf@gmail.com> (raw)
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/)
next reply other threads:[~2021-05-04 18:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-04 18:26 No Wayman [this message]
2021-05-04 19:25 ` Bug: org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)] Sébastien Miquel
2021-05-04 19:33 ` No Wayman
2021-05-04 20:27 ` Sébastien Miquel
2021-05-04 20:32 ` Bastien
2021-05-04 21:19 ` Sébastien Miquel
2021-05-05 3:15 ` No Wayman
2021-05-05 6:49 ` Bug: [PATCH] " Sébastien Miquel
2021-05-05 7:03 ` Bastien
2021-05-05 13:53 ` No Wayman
2021-05-05 6:43 ` Bug: " Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yzy73k0.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.