On Mon, Jan 10, 2011 at 08:26:13AM +1300, Gareth Evans wrote: > 1) Create a guest only share > 1a) Make sure the windows box can access the share just using explorer > 2) Start ChangeNotifyTestingConsole.exe \\path\to\share -r > 2a ChangeNotifyTestingConsole will connect to the share and register for > change notifications, drop the -r if you don't want recursive) > 3) Make file system changes (e.g. delete/create/modify/move/copy) on the > path you're watching (either over ssh or on the console of the server) > 4) ChangeNotifyTestingConsole.exe will log any notify messages it receives; > Delete/Create logs stuff > Modify/Move/Copy isn't logging anything
Tested your application: File: z:\core Deleted File: z:\mput\file00000168.exe Deleted File: z:\screenshot.png Created File: z:\screenshot.png Changed File: z:\screenshot.png Deleted File: z:\screenshot.png Created File: z:\screenshot.png Changed File: z:\screenshot.png Changed File: z:\screenshot.png Changed File: z:\screenshot.png Changed File: z:\screenshot.png Changed File: z:\screenshot.png Changed File: z:\screenshot.png Changed File: z:\screenshot1.png Created File: z:\changenotifylog.txt Created File: z:\changenotifylog.txt Changed File: z:\changenotifylog.txt Deleted File: z:\changenotifylog.txt Created File: z:\changenotifylog.txt Changed File: z:\changenotifylog.txt Changed File: z:\changenotifylog.txt Changed File: z:\changenotifylog.txt Changed File: z:\samba_win.out renamed to z:\1.out File: z:\1.out Changed The last action was triggered by: vlendec@delphin:/data/tmp$ mv samba_win.out 1.out vlendec@delphin:/data/tmp$ What I do not get is unix-triggered events from subdirectories, but this is expected. Inotify is not recursive, and Samba does not open file handles for all subdirectories. What I do get is notifies from renames in subdirectories triggered by other CIFS clients. This is with current master by the way, but there have not been any relevant changes since 3.5.6. What am I doing differently? With best regards, Volker Lendecke -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba