samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13559 - in branches/SAMBA_3_0/source/smbd: .

Subject: svn commit: samba r13559 - in branches/SAMBA_3_0/source/smbd: .
From:
Date: Sat, 18 Feb 2006 02:02:15 +0000 GMT
Author: jra
Date: 2006-02-18 02:02:11 +0000 (Sat, 18 Feb 2006)
New Revision: 13559

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13559

Log:
Fix bug #3522 reported by Sandeep Tamhankar <sandman@xxxxxxxxxxxxxxxxxx>.
mkdir foo returns the wrong error message when file foo exists.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c       2006-02-18 01:21:27 UTC (rev 
13558)
+++ branches/SAMBA_3_0/source/smbd/open.c       2006-02-18 02:02:11 UTC (rev 
13559)
@@ -1802,12 +1802,6 @@
                return NULL;
        }
 
-       if (dir_existed && !S_ISDIR(psbuf->st_mode)) {
-               DEBUG(0,("open_directory: %s is not a directory !\n", fname ));
-               set_saved_ntstatus(NT_STATUS_NOT_A_DIRECTORY);
-               return NULL;
-       }
-
        switch( create_disposition ) {
                case FILE_OPEN:
                        /* If directory exists open. If directory doesn't

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13559 - in branches/SAMBA_3_0/source/smbd: ., jra <=