[Samba] file leases and replacing files

Jeremy Allison jra at samba.org
Fri Dec 30 06:07:02 UTC 2022


On Fri, Dec 30, 2022 at 08:51:58AM +0300, Michael Tokarev wrote:
>Well, this is what I suspected initially.
>
>And now we have an interesting situation.
>
>Historically, we setup a software distribution system to multiple
>locations (it worked over dialup too when it was the way to connect).
>Two tarballs of whole thing, compared, made the delta, which is
>distributed to every place. In there, it is applied to the local
>tarball to construct the new tarball. This is a background.
>
>Now, this tarball (including executables and data files) is
>extracted to an empty directory, and a symlink is atomically
>updated to point to the new version. And the old directory
>is deleted.  So this is even worse than modifying certain
>files, - it is something which samba can never notice.
>
>All this is done automatically without user interaction, using
>linux-provided tools.

You're going to have to be much more explicit
because this really doesn't tell me anything
about the client semantics you're expecting
or desire. Or even who the clients are
for that matter.

Where is SMB in this description above ?

Who is the SMB consumer, and what semantics
do you desire for them ?



More information about the samba mailing list