using go's os like so:
os.Rename(oldpath,newpath)
and watching the destination folder using fsnotify
causes 2 events to fire, CREATE
and CHMOD
can't seem to understand why CHMOD
is fired.
tried listening with python's watchdog shows 2 events as well, file creation and folder modification.
parent folder perms are
0777
file perms are0666
(default).- I'm on macOS