Hello, Currently, the only way to set a file mode when tangling seems to be :tangle-mode (identity #o755) In a [prior thread], Jeremy proposed that :tangle-mode should convert octal number strings to the required decimal form. I think we should go further, and so have prepared the attached patch based on a snippet I shared in the thread. To quote the docstring of the new function I’m introducing, this patch now accepts the following :tangle-mode forms: • an integer (returned without modification) • “#o755” (elisp-style octal) • “0755” (c style octal) • “755” (chmod style octal) • “rwxrw-r–” (ls style specification) • “a=rw,u+x” (chmod style) • “rwx” (interpreted as “u=rwx”) Why be so permissive? I’d refer you to my reasoning in the prior thread: I think there are a few arguably “sensible” formats that a user could reasonably assume, and if we can support most of them without introducing ambiguity in parsing or interpretation (and I think we can), can’t we make everyone happy? All the best, Timothy [prior thread]