7

I have Box.com successfully mounted with davfs2 (webdav) to a local location. Now I am trying to trigger actions on files created and synced in the Webdav folder.

Unfortunately this is not working. I see no inotify events when files are synced to the local Webdav folder. It does pick-up any local file transactions though, so I am pretty confident inotify is working properly.

Anyone else using Webdav (davfs2) and inotify?

yograf
  • 71

1 Answers1

4

According to lwn.net - Filesystem notification, part 2: A deeper investigation of inotify events on remote file systems (which WebDAV is) are not reported:

For example, it means that inotify does not inform us of events on monitored objects via a remote filesystem (e.g. NFS) operation.

Notifications are implemented in the kernel. In case a file is changed, the kernel sends a notification. But on remote file systems the change doesn't involve the local kernel. Therefore no notification is generated.

For this to work, the notifications would need to be implemented on the server and then forwarded to the client.

Related:

Diagon
  • 630
Marco
  • 33,548