The easiest fix is to make sure IN_CLOSE_WRITE is processed only on
directories.

    @validate_filename
    def process_IN_CLOSE_WRITE(self, event):
        """Ecryptfs sends this inotify event for lower directories."""
        if not (event.mask & pyinotify.IN_ISDIR):
            self.general_processor.push_event(event)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/872894

Title:
  Unhandled INotify events break syncdaemon file watching

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-client/+bug/872894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to