The Samba-Bugzilla – Bug 559
Samba 3 reports 'directory does not exist' when trying to creating an already existing directory
Last modified: 2005-11-14 09:27:36 UTC
since an upgrade to Samba 3 (the binary rpms samba-3.0.0-1from a
samba download site, redhat 7.3) this morning, we've been
experiencing problems with WinCVS on mounted network drives.
WinCVS reports that it cannot create a directory, even though the directory
already exists. Although WinCVS obviously has an odd way of checking for
existing directories, it never caused a problem in the past.
apparently, (one of) the following options is causing the problems (I
can't do more detailed testings right now because too many people
are working on the server) - we use these options to ensure proper
permissions on all drives:
; create mode = 0664
; directory mode = 0774
; force create mode = 0664
; force directory mode = 0775
; force security mode = 0644
; force directory security mode = 0775
when these options are not commented out, the following occurs
when trying to "mkdir" an already existing directory:
02-10-2003 13:43 <DIR> palm
The system cannot find the file specified.
when these options are commented out, we get the 'normal' error:
A subdirectory or file palm already exists.
although commenting out the options doesn't fix the issues with WinCVS
I think this is already fixed - I believe it was a side effect
of the bad error code propagation from the "Excel readonly file" issue.
I'm pretty sure this is fixed by the smbd/error.c patch.
Is there a way you can test this with the SAMBA_3_0 codetree ?
The SAMBA_3_0 CVS version indeed fixes the directory creation error codes and
the issues I've seen with WinCVS.
Fixed by error code return fixes in SAMBA_3_0.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.