Jeremy Allison wrote:
On Wed, Aug 18, 2004 at 01:23:15PM -0500, Matt Mitchell wrote:
Obviously this is a feature of filesystem semantics, so my question is this: does samba provide a hook or feature, similar to the preexec/postexec script, except for a file write? I am willing to deal with performance implications, of course. An alternative would be an unlink-and-create-before-write approach when updating a file, though that would require samba to do some gymnastics. I'm not aware of any such feature.
Yes, you can write a Samba vfs module that only hooks write and does what you want.
Done. Pretty easy, too. Thanks!
-m
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
