Franck Y wrote:
Do you know how i can set up the readlonly in a file ONLY when
someone
is already opening or opened the file.
In general (on the samba side), no. It's the job of the application
(opening the file) to properly lock file for write access (so that
subsequent open requests can/will-be read-only).
-- Rex