diff --git a/lib/fs/basicfs_watch_eventtypes_darwin.go b/lib/fs/basicfs_watch_eventtypes_darwin.go index 8968c50db..1b68f1d17 100644 --- a/lib/fs/basicfs_watch_eventtypes_darwin.go +++ b/lib/fs/basicfs_watch_eventtypes_darwin.go @@ -12,7 +12,8 @@ package fs import "github.com/syncthing/notify" const ( - subEventMask = notify.Create | notify.Remove | notify.Write | notify.Rename | notify.FSEventsInodeMetaMod - permEventMask = 0 + subEventMask = notify.Create | notify.Remove | notify.Write | notify.Rename | notify.FSEventsInodeMetaMod + // FSEventsChangeOwner fires on permission change + permEventMask = notify.FSEventsChangeOwner rmEventMask = notify.Remove | notify.Rename )