lib/fs: Handle permission change events on macos (fixes #7924) (#8150)

This commit is contained in:
Jonathan 2022-01-30 18:21:21 +02:00 committed by GitHub
parent 1794d45ff3
commit d37a5b03f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
)