ar-/incron

Cannot access mounted drives

lrickerman opened this issue · 1 comments

incrontab does not seem to have access to shared network drives. Everything works fine when I monitor any other directory, but I need to monitor a share drive and it just doesn't work, it doesn't do anything.

Incron uses the inotify mechanism. inotify over networks shares is an open issue to be solved. It depends even on the method of the mounting SMB/NFS/...
For a good overview on the part of Samba SMB have a look at that article:
https://lwn.net/Articles/896055/

If you use NFS have a look at
https://github.com/ar-/incron/issues/48
It seems that the timing matters. The share must already be mounted at the time the incron daemon is started.

Best wishes.