A Z <mks...@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>

Reply via email to