Why does LibreOffice send multiple 'OPEN' events for a file.save?

asked 2019-02-26 23:07:55 +0200

carnish gravatar image
  Build ID: 1:6.1.4-0ubuntu1

I'm using pyinotify to watch events in a directory. When I save a file in libreoffice writer I read four or even six identical OPEN events .

 <Event dir=False mask=0x20 maskname=IN_OPEN name=460.JakeAndJackieAndTheGunTable.odt path=/home/stephen/bitchnburly pathname=/home/stephen/bitchnburly/460.JakeAndJackieAndTheGunTable.odt wd=1 >

If I save a file with a text editor, eg. vi or geany I get only one event -- a MODIFY.

This is not a problem, just a curiosity.

edit retag flag offensive close merge delete