[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org tangle ignores :dir header arg [9.6.6 ( @ /home/me/.config
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org tangle ignores :dir header arg [9.6.6 ( @ /home/me/.config/emacs/elpa/org-9.6.6/)] |
Date: |
Fri, 30 Jun 2023 12:07:11 +0000 |
A Z <mksybr@gmail.com> writes:
> is this a bug the way that the src block ignores the :dir args?
> #+PROPERTY: header-args :dir "/sudo::/" :results drawer
> #+begin_src conf :tangle /require-root
> test :)
> #+end_src
>
> `emacs -Q`; C-c C-c on the property line; C-u C-c C-v C-t on
> the src line; permission denied.
:dir header arg only applies to block evaluation, not to tangling.
16.4 Environment of a Code Block
The ‘dir’ header argument specifies the default directory during code
block execution. ...
Canceled.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>