From: Christof Schmitt Date: Mon, 13 Sep 2021 20:25:09 +0000 (-0700) Subject: docs-xml: Update manpage for "kernel share modes" option X-Git-Tag: ldb-2.5.0~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079e706e1711cae82db913fa46fa9efe7afafc97;p=thirdparty%2Fsamba.git docs-xml: Update manpage for "kernel share modes" option Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/docs-xml/smbdotconf/locking/kernelsharemodes.xml b/docs-xml/smbdotconf/locking/kernelsharemodes.xml index 134fffc2714..d06f7924aad 100644 --- a/docs-xml/smbdotconf/locking/kernelsharemodes.xml +++ b/docs-xml/smbdotconf/locking/kernelsharemodes.xml @@ -5,14 +5,14 @@ This parameter controls whether SMB share modes are - translated into UNIX flocks. + translated into file system specific sharemode calls. Kernel share modes provide a minimal level of interoperability with local UNIX processes and NFS operations by preventing - access with flocks corresponding to the SMB share modes. - Generally, it is very desirable to leave this enabled. + access corresponding to the SMB share modes. This requires + a file system specific VFS module with proper support. @@ -21,11 +21,12 @@ - This parameter defaults to yes and - is translated to a no-op on systems that do not have the - necessary kernel flock support. + This parameter defaults to no. Setting + it to yes requires a file system module + that supports file system sharemodes, otherwise attempts to + access files will fail with a sharing violation. -yes +no