svn commit: samba r20662 - in branches/SAMBA_3_0_24/source/smbd: .
jra at samba.org
jra at samba.org
Wed Jan 10 18:52:17 GMT 2007
Author: jra
Date: 2007-01-10 18:52:16 +0000 (Wed, 10 Jan 2007)
New Revision: 20662
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20662
Log:
Strange semantics for normalizing non-wildcard
deletes.
Jeremy.
Modified:
branches/SAMBA_3_0_24/source/smbd/reply.c
Changeset:
Modified: branches/SAMBA_3_0_24/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/reply.c 2007-01-10 18:41:22 UTC (rev 20661)
+++ branches/SAMBA_3_0_24/source/smbd/reply.c 2007-01-10 18:52:16 UTC (rev 20662)
@@ -1827,6 +1827,9 @@
if (!has_wild) {
pstrcat(directory,"/");
pstrcat(directory,mask);
+ if (dirtype == 0) {
+ dirtype = FILE_ATTRIBUTE_NORMAL;
+ }
status = can_delete(conn,directory,dirtype);
if (!NT_STATUS_IS_OK(status))
return status;
More information about the samba-cvs
mailing list