GNOME Bugzilla – Bug 331087
[patch] Watch parent directories to catch all rename events
Last modified: 2008-09-06 18:54:54 UTC
Currently if you have: /tmp/foo/bar watching /tmp/foo/bar and a user does: mv /tmp/foo /tmp/cat you won't get any events. This is because FAM and the current inotify backend don't monitor the parent directories and consequently can't push rename events down the directory tree.
I'm going to attach an alpha patch. I have tested it under nautilus and it appears to work properly, but ymmv.
Created attachment 59306 [details] [review] gnome-vfs-parent-watch.patch
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome. If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs. @Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of this notification noise all together. General further information: http://en.wikipedia.org/wiki/GVFS Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html