### Bug description

Quarto 1.2.313 fails to render symlinked objects with website projects (Linux EndeavourOS).

Steps to reproduce:
1. Create a new quarto website project
2. Symlink to a directory `my-simlinked-dir` of `.qmd` and `.md` files
3. Symlink directly to a few `.qmd` and `.md` files
4. Render `index.qmd`

The directory now looks like
```
_site
.quarto
my-symlinked-dir
file.md
file.qmd
about.qmd
index.qmd
styles.css
_quarto.yml
```
`file.md` and `file.md` are direct symlinks to the contents of `my-simlinked-dir`

When you render `index.qmd` with
```
  sidebar:
    style: docked
    contents:
      - "file.qmd"
      - "file.md"
      - "my-simlinked-dir/file.qmd"
      - "my-simlinked-dir/file.md"
```
no HTML files are generated from these files. Also quarto doesn't show any links on the side bar, presumably because it is unable to resolve these paths.


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [x] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [x] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2023-01-31T18:45:48Z
KeAWang
bug file-systems
v1.4
open
Quarto fails to render symlinked content
https://github.com/quarto-dev/quarto-cli/issues/4167