Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watching mounted drives #409

Closed
alt3red opened this issue Jun 28, 2017 · 3 comments
Closed

Watching mounted drives #409

alt3red opened this issue Jun 28, 2017 · 3 comments

Comments

@alt3red
Copy link

alt3red commented Jun 28, 2017

Is there a way to use watchdog for watching a shared mounted network drive in linux and report when someone else on the network copies files to that folder?

Thank You!

@peci1
Copy link

peci1 commented Jul 11, 2017

It depends.

So, to conclude, you're out of luck unless you want to write the inotify broker mentioned in the SO answer.

A side note: At PyPi index, there is a section with Caveats. I haven't found anything about network drives there, though it should be mentioned there in my view.

should not work with inotify

@seanpompea
Copy link

@alt3red -- Yes, use PollingObserver.

More info: https://pythonhosted.org/watchdog/api.html?highlight=observedwatch#watchdog.observers.polling.PollingObserver

@BoboTiG
Copy link
Collaborator

BoboTiG commented Jun 11, 2019

Closing as there is a note in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants