From d6b5676603c4325874345ce07fb3ef07c403dd32 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 23 May 2024 09:39:10 +0200 Subject: [PATCH] lib/fs: Watcher should react to xattr-only events on Darwin --- lib/fs/basicfs_watch_eventtypes_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fs/basicfs_watch_eventtypes_darwin.go b/lib/fs/basicfs_watch_eventtypes_darwin.go index 1b68f1d17..f7ca0e008 100644 --- a/lib/fs/basicfs_watch_eventtypes_darwin.go +++ b/lib/fs/basicfs_watch_eventtypes_darwin.go @@ -12,7 +12,7 @@ package fs import "github.com/syncthing/notify" const ( - subEventMask = notify.Create | notify.Remove | notify.Write | notify.Rename | notify.FSEventsInodeMetaMod + subEventMask = notify.Create | notify.Remove | notify.Write | notify.Rename | notify.FSEventsInodeMetaMod | notify.FSEventsXattrMod // FSEventsChangeOwner fires on permission change permEventMask = notify.FSEventsChangeOwner rmEventMask = notify.Remove | notify.Rename