Michael Tokarev
2023-Jan-20 09:40 UTC
[Samba] oplocks, kernel oplocks, kernel share modes, .. - how it all works?
20.01.2023 12:21, Rowland Penny via samba wrote:> you shouldn't locally modify files on a Samba share. This is because Samba has no way of knowing that said > files have been modified locally.This defeats the whole purpose of samba as INTEROPERABILITY suite for *nix, to begin with. There are numerous mechanisms exists on linux to know the file has been modified, so the statement about samba having no way of knowing that is wrong. /mjt
Rowland Penny
2023-Jan-20 10:25 UTC
[Samba] oplocks, kernel oplocks, kernel share modes, .. - how it all works?
On 20/01/2023 09:40, Michael Tokarev via samba wrote:> 20.01.2023 12:21, Rowland Penny via samba wrote: >> you shouldn't locally modify files on a Samba share. This is because >> Samba has no way of knowing that said files have been modified locally. > > This defeats the whole purpose of samba as INTEROPERABILITY suite for *nix, > to begin with. > > There are numerous mechanisms exists on linux to know the file has been > modified, > so the statement about samba having no way of knowing that is wrong. > > /mjt >If you don't want to believe me, go and read this: https://lists.samba.org/archive/samba/2022-December/243469.html Rowland