[Samba] suggestions about file ownership in multi-user "sandbox"
Matt Mitchell
mmitchell at virtualproperties.com
Wed Aug 18 22:03:10 GMT 2004
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
More information about the samba
mailing list