[Samba] help - file permission

Walter Mautner retlaw.rentuam at gmail.com
Mon Apr 27 06:09:21 GMT 2009


Am Monday 27 April 2009 06:55:57 schrieb yudi shiddiq:
> Hey all,
>
> I have a case that when 2 client open the same file from file server, the
> first client open it correctly, and the second client when open it there is
> not show warning that file in use.
>
Depends upon the OS of the client as well as the application.

> Is there any way to set when the second client or next client open the
> file, the file should be "read only" so just the first client which can
> modify the file.
>
> I have set like this on smb.conf
>
>  level2 oplocks = no
>  oplocks = no
>
These settings are (S) in man smb.conf which means you should set them under< 
the share stanza, not in the global section.




More information about the samba mailing list