[Samba] how to call an executable script each time a file is created or modified

Jeremy Allison jra at samba.org
Thu Oct 16 17:33:51 GMT 2003


On Wed, Oct 15, 2003 at 11:49:31PM -0700, dave giffin wrote:
> is it possible to have a samba daemon call an
> executable script each time a file within one of it
> shares is modified or a new file is created?
> 
> I'm looking to develop a file catalogging system for
> my file server which depends on my software being
> notified each time a file is modified or a new file
> created.
> 
> This allows the modified/new file to be scanned for
> relavent information.

You need to write yourself a Samba VFS module. Start
with the sample one shipped with Samba.

Jeremy.



More information about the samba mailing list