[Samba] Unable to upload printer drivers.

Jeremy Allison jra at samba.org
Wed Apr 10 16:18:49 UTC 2019

On Wed, Apr 10, 2019 at 03:33:57PM +0100, Rowland Penny via samba wrote:
> On Wed, 10 Apr 2019 15:42:42 +0200
> "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
> > Hi  
> > 
> > @Rowland, i have a Level 10 log part here, maybe you see something. 
> > I'll have a look at the list again in about 2 hours. 
> It seems to all start here:
>   stat_cache_lookup: lookup failed for name [X64/3]
> So, it looks like the dir doesn't exist, but:

That's looking for a stat cache entry with the
canonicalized (i.e. uppercase) name. Doesn't mean
it doesn't exist, just that we haven't looked for
it before and don't have any records of what is
actually on the disk. (The statcache isn't total
"truth" of what's on disk, more of a guide to what
we found there before to reduce full directory
scans if we don't know).

>  Creating first directory: x64/3
>  ......
>  .....
>  open_directory: unable to create x64/3. Error was
> It looks like the dir already exists, but earlier it didn't ????

No, it exists - the mkdir failed.

> then. lower down:
>   stat_cache_lookup: lookup failed for name [X64/3]
> It doesn't exist again ????

The lookup for x64/3 probably should have cached
the record x64/3 -> X64/3 in the statcache.

More information about the samba mailing list