Hi, No Wayman writes:
I'm tangling my early-init/init.el with the :tangle-mode header arg set to (identity (#o444)).
This should be `(identity #o444)` I believe ?
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.
File permissions are now set before writing to the file, for security reasons. In this case, you remove write permission so emacs fails to write to the file. Perhaps we should try to support this use case. However, even with the previous version, it seems that subsequent tangles should have failed (emacs should fail to delete the previous tangled file). Can you confirm this and explain how you dealt with it ? As a workaround, you could use a file-local `org-babel-post-tangle-hook` to set file permission. Although subsequent tangles will still fail. -- Sébastien Miquel