[Samba] extra readdir operation when writing to a non-existent file

Zhang Bingjun (Eddy) eddymier at gmail.com
Wed May 12 02:16:11 MDT 2010


hi samba fellows,

It is my first time to ask questions in samba mail list. Very sorry if
my question is very naive.

The problem is when I write to
a non-existent file from windows to a linux export, there will be an
extra readdir operation triggered. If I write to an existent file, no
readdir operation will be triggered.

How could I avoid the extra readdir operation in all cases when I am just
writing to a file?

Very much appreciate your help!

I used samba
(3.4.0) to export a FUSE mount from Ubuntu with the following smb.cnf:

----------------------------------------------------------------
[global]
  security = share
  guest account = nobody

[mofs]
  path = /mnt/mofs
  public = yes
  guest ok = yes
  guest only = yes
  guest account = nobody
  writeable = yes
  browseable = yes
----------------------------------------------------------------



More information about the samba mailing list