Custom attachments location not working in Linux

Steps to reproduce

  • Go to setting/Files & Links/Attachments folder path.
  • In the menu “Default location for new attachments” select “In the folder specified bellow”.
  • In “Attachments folder path” write something like: /home/videbar/obsidian/attachments/main.
  • Drag attachment to the note


  • Create a folder in the vault directory.
  • Right click the folder and select “Set as attachment folder”.
  • Drag attachment to the note

Expected result

That the attachment file is placed in the indicated folder (either /home/videbar/obsidian/attachments/main or in the “attachments” folder inside the vault) and a reference to it is placed in the note.

Actual result

I’ve tried this multiples times, most of the times the attachment file is placed in the vault with all the markdown files and the link is placed in the note but sometimes the file stays where it is and the link is created to this location.


  • Operating system: Fedora 34
  • Obsidian version: 0.12.19

you are pressing ctrl while dropping the file.

Hi, I have the same problem with Windows. The attached pictured is store in the main vault and doesn’t even show in the note, unless I manually drag it therein. Anybody knows why?