[Samba] Re: How does the UNIX end work?

Michal Kurowski mkur at gazeta.pl
Mon Jan 31 15:04:11 GMT 2005

Andrew Edmondson [your-copy at uk2.net] wrote:
> I've been trying to find something on this in the docs but have failed so
> far - perhaps I'm just looking in the wrong place and if so please feel
> free to reply with a link.
> My issue is that files create on a samba share in windows are fine. The
> file is created and is accessible by everyone straight away.
> But, if I have a unix script create a file on the samba share at the
> server end it seems to take some time (varies up to a minute) to become
> available to the windows clients.

The question is: how does Windows work ? ;-)))

And the answer - it caches. The view of the underlying drive is
cached on the Windows side and it takes a few seconds it notices a

> This has led me to think that there is a list of files which is updated
> either at the request of smbd (due to access by a windows machine) or
> after a periodic (every 1 minute?) scan of the files at the UNIX end. Is
> there a way to shrink or remove this refresh time at all?

I don't think so.

Michal Kurowski
<mkur at gazeta.pl>

More information about the samba mailing list