Skip to content

PermissionDenied error when rendering to external drive on macOS #12396

Open

Description

@hongyingsun1101
No description provided.

Activity

  1. added
    bug
    on Mar 27, 2025
  2. mcanouil commented on Mar 27, 2025

    @mcanouil
    Collaborator

    Could you properly format your post (as documented in the template you just filled) using code blocks for code and terminal outputs? Thanks.
    If your code contains code blocks, you need to enclose it using more backticks, i.e., usually four ````.
    See https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us.

    Could you also use the latest stable version before opening bug reports? You are using 1.5.57 (almost one year old) while the current stable is 1.6.42.

  3. mcanouil commented on Mar 27, 2025

    @mcanouil
    Collaborator

    A workaround is rendering locally and copying manually

    Use a Pre and Post Render script.

  4. cscheid commented on Mar 27, 2025

    @cscheid
    Member

    Just to clarify this for other folks: Quarto runs deno with enough permissions. I believe what happens here is you've told macOS to give the R executable sufficient permissions, and that hasn't happened for Quarto's binaries (or there are other permissions issues).

    With that said, @mcanouil's suggestion is the recommended way to solve this general class of problems.

  5. cscheid commented on Mar 27, 2025

    @cscheid
    Member

    This only happens with Quarto. The same setup works perfectly with rmarkdown::render() in R — suggesting that the issue lies with Quarto’s internal Deno-based file copying and its interaction with macOS SIP or sandboxing.

    I don't know where you got this from, but in case you got it from an LLM: please don't post these claims without verifying their veracity.

  6. hongyingsun1101 commented on Mar 27, 2025

    @hongyingsun1101
    Author
  7. cscheid commented on Mar 27, 2025

    @cscheid
    Member

    Do you think this bug is fixable any time soon?

    No, unfortunately not.

  8. added
    file-systems
    on Mar 27, 2025
  9. added this to the Future milestone on Mar 27, 2025
  10. cderv commented on Mar 27, 2025

    @cderv
    Member

    @hongyingsun1101 I am not sure removing all description in your OP is helpful here.

    Why do that ? Do you get no problem anymore ?

  11. hongyingsun1101 commented on Mar 27, 2025

    @hongyingsun1101
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfile-systems

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions