Subfolder File Changes Not Detected in SMB Share Vaults

Steps to reproduce

  1. Create a vault on an SMB share (e.g., \data\bob\obsidian\vault1)
  2. Create a few files and subfolders in the vault directly on the file share, outside of Obsidian (I created a few .md files for test)
  3. Modify, create, or delete files in the root folder (vault folder) and observe the changes in Obsidian
  4. Modify, create, or delete files in a subfolder and observe the changes in Obsidian

Expected result

Obsidian should detect changes, additions, and deletions for files in subfolders in a vault located on an SMB share.

Actual result

Obsidian detects changes, additions, and deletions only for files in the root folder immediately (vault root folder) but sadly not in subfolders.


Obsidian version: v1.2.7
Installer version: v1.1.16
Operating system: Windows 10 Pro 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: File Explorer Note Count v1.2.1

Additional information

This issue occurs even when the SMB share is mounted as a drive (e.g., Z:) on Windows.
I can reproduce this even in very deep SMB share paths, so path length is not a problem.

We don’t have much control over this. It depends if your network share is emitting the changes, additions, and deletions events.
we had reports that windows network shares did it. I am not sure if this is something specific to your setup. Moved to help.

I would completely understand this, if nothing would be detected. But I can place the vault wherever I want on the NAS, and its root folder files (files not in any folder) do update immediately! If I make a folder, and then create/modify/rename file there, it is not detected in obsidian. Of course its immediately detected in all PCs, all open explorer windows, everywhere.

If network share would not be emitting changes etc… it would not change it in the “main” root folder of the obsidian vault either, right?

Am I thinking right here?

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