Sample Header Ad - 728x90

inotifywait doesn't monitor Windows users saving to Samba share on Linux

4 votes
2 answers
3754 views
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?
Asked by bstand (51 rep)
Jun 6, 2016, 07:51 AM
Last activity: Sep 18, 2023, 09:35 AM