SMB file change notifications not triggered when making local changes


Recommended Posts

I have some code that uses dotnetcore filesystemwatcher to trigger when changes are made to directories.

When the directory is a SMB share on Unraid, and changes are made from a docker container the underlying directory, the SMB share does not trigger the change.

 

E.g.

SMB share \\server\share\foo points to /mnt/user/foo

Windows client monitors for changes in \\server\share\foo

Docker container writes changes to /mnt/user/foo

Windows client is not notified of the changes.

 

Is this expected behavior with Samba on Linux (I did not test), or is this something with Unraid and user shares that are not triggering Samba changes?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.