[Samba] suggestions about file ownership in multi-user "sandbox"
Jeremy Allison
jra at samba.org
Wed Aug 18 18:25:51 GMT 2004
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.
Jeremy.
More information about the samba
mailing list