Clicking some markdown links gives a "File already exists" alert

I couldn’t reproduce this in the sandbox vault.
But in my vault, it still happens after updating everything, selecting Default theme, selecting Restricted mode and restarting, or turning off all core and community plugins.

Steps to reproduce

  • On mac, in the vault directory, I create two test files, and a symbolic link to each:
    echo 1 >TEST1.md; ln -s TEST1.md A.md
    echo 2 >TEST2.md; ln -s TEST2.md AA.md
    
  • In an existing page in that vault I add markdown links to the symlinked notes:
    - [A](A.md)
    - [AA](AA.md)
    

Expected result

Clicking on either link should work, opening A.md or AA.md and showing the symlinked file’s content.

Actual result

Clicking the A link works, but clicking the AA link fails with a “File already exists.” alert.

Later, after much messing around with test files, searching for similarly named files within the vault etc, both links are failing.

Environment

SYSTEM INFO:
Obsidian version: v1.2.2
Installer version: v1.1.8
Operating system: Darwin Kernel Version 21.6.0: Sun Nov 6 23:29:57 PST 2022; root:xnu-8020.240.14~1/RELEASE_ARM64_T8101 21.6.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Additional information

There is no other A.md or AA.md anywhere within the vault. There are some other a.* files.
There are no z.* or Z.* files, so I repeated with Z.md and reproduced the same error.

I wouldn’t expect this to be accepted as a bug for now.

File symlinks (as opposed to folder symlinks) may work, but aren’t officially supported at this time.

How Obsidian stores data - Obsidian Help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.