svn commit: samba r9054 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Thu Aug 4 06:14:34 GMT 2005


Author: tridge
Date: 2005-08-04 06:14:34 +0000 (Thu, 04 Aug 2005)
New Revision: 9054

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

Log:
removed incorrect paranoia check on opening streams (this caused RAW-STREAMS to fail)


Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c	2005-08-04 05:46:17 UTC (rev 9053)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c	2005-08-04 06:14:34 UTC (rev 9054)
@@ -1075,9 +1075,6 @@
 
 	/* if this was a stream create then create the stream as well */
 	if (!name->stream_exists) {
-		if (!(access_mask & SEC_FILE_WRITE_ATTRIBUTE)) {
-			return NT_STATUS_ACCESS_DENIED;
-		}
 		status = pvfs_stream_create(pvfs, f->handle->name, fd);
 		if (!NT_STATUS_IS_OK(status)) {
 			talloc_free(lck);



More information about the samba-cvs mailing list