Bug description
STEPS: from empty directory on Linux
sudo mkdir /tmp2
sudo mount -t tmpfs tmpfs /tmp2
echo Hi > test.qmd
touch _quarto.yml
quarto render test.qmd --to markdown --output-dir /tmp2
RESULT: quarto outputs:
ERROR: Invalid cross-device link (os error 18), rename '/home/castedo/shr/bugs/q2/test.md' -> '/tmp2/test.md'
NOTES:
- This works:
quarto render test.qmd --to markdown --output-dir tmp2
- So does
echo Hola > /tmp2/hi.txt
cat /tmp2/hi.txt
- These steps with a tmpfs are not my actually usage scenario. I hit this because I run quarto inside a container and was outputing into a public_html directory mounted outside the container. Similar issue should get hit with VMs and shared folders.
Easy for me to work around though.
ENVIRONMENT:
[castedo@quarto-1 1]$ quarto --version
1.1.251
[castedo@quarto-1 1]$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Container Image)"
ID=fedora
VERSION_ID=36
...
Checklist
Bug description
STEPS: from empty directory on Linux
RESULT: quarto outputs:
NOTES:
Easy for me to work around though.
ENVIRONMENT:
Checklist