There are a few more file share options related to locking and automatically running commands that you can set using this module as well. Those are used for locking control of the behavior of Samba when a Windows client tries to lock a file to gain exclusive access, so that it can cache data in the file without having to contact the server for every read or write. By default, locking is fully enabled and implemented in exactly the same way as it is on Windows servers, so there is generally no need to change these settings.
Samba can also be configured to run shell commands when a client connects or disconnects, either as root or as the connecting UNIX user. This can be useful if you want to move newly added files to some other directory or perform some kind of processing on them.
To edit the module's other file sharing options, follow these steps:
One thing to remember about locking and Samba is that locks taken out by SMB clients will not generally effect or be detectable by UNIX programs or NFS clients. This means that data corruption can still happen if UNIX and Windows programs open the same file, or if the same NFS exported directory is shared by two different Samba servers.
3.133.157.12