1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r23911: Revert r23910 to try and fix the build farm. I

need to look at this more closely tomorrow.
Stevef's cthon tests definately show we're not
matching Windows behaviour (as his tests pass
against Windows but not SAMBA_3_2) but this isn't
the fix.
Jeremy.
(This used to be commit 90bbc077e1)
This commit is contained in:
Jeremy Allison 2007-07-17 04:47:36 +00:00 committed by Gerald (Jerry) Carter
parent cfb7c04696
commit 02730aa86c

View File

@ -1863,12 +1863,6 @@ static NTSTATUS can_rename(connection_struct *conn, files_struct *fsp,
return NT_STATUS_NO_SUCH_FILE;
}
#if 0
/* We used to deny renames on the
* source open for non-delete open.
* Turns out this is not the case.
* VL please test but this matches
* Windows behaviour. JRA. */
if (S_ISDIR(pst->st_mode)) {
return NT_STATUS_OK;
}
@ -1878,9 +1872,6 @@ static NTSTATUS can_rename(connection_struct *conn, files_struct *fsp,
}
return NT_STATUS_ACCESS_DENIED;
#else
return NT_STATUS_OK;
#endif
}
/*******************************************************************