I have inotifywait(version 3.14) on Linux to monitor a folder that is shared with Samba Version 4.3.9-Ubuntu.
It works if I copy a file from Linux machine to samba share(that is on different machine, under Linux as well).
But if I copy a file from Windows machine inotify won't detect anything.
Spaces or no spaces, recursive or not result is the same.
printDir="/media/smb_share/temp/monitor"
inotifywait -m -r -e modify -e create "$printDir" | while read line
do
echo "$line"
done
Does anyone have any ideas of how to solve it?