Public bug reported:

I created a watch C program that has different results on Ubuntu than it
does on openSUSE, and the openSUSE results are the ones that I would
expect. Program for reference here:
https://gist.github.com/dradtke/c521a6a3aa831b3e6400

The gist of the program is that it uses inotify to watch for events
related to the file hello.txt and print them out. When I make a change
to the file, I expect that the IN_MODIFY event gets raised, but on
Ubuntu, I instead get this:

IN_MOVE_SELF
IN_ATTRIB
IN_DELETE_SELF

afterwards no more events get generated because the file has been
removed from the watch.

Tested with a fresh install of Ubuntu 14.04.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: inotify

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

Title:
  Inotify fails to report IN_MODIFY events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1493413/+subscriptions

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

Reply via email to