dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
247 stars 75 forks source link

crashes when encountering inaccessible directories (mode 0700) #111

Open crackwitz opened 3 months ago

crackwitz commented 3 months ago

As the title says.

Had to catch issues in two places to at least make it tolerate inaccessible directories.

And that's just that one issue with permissions. There is more. If I had the time, I'd do my own library. This here just doesn't stand up to real-world usage. There are deeper issues here that require me to just wrap it in a loop and sleep if failed construct.

Just posting this to let others know. In contrast to other inotify wrappers for Python, this one isn't "done" (no need to further develop). It's got bugs, and it's abandoned.