From ba205b314390474ecf263a9b6094330d6bc37a80 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 4 Aug 2005 06:14:34 +0000 Subject: r9054: removed incorrect paranoia check on opening streams (this caused RAW-STREAMS to fail) (This used to be commit c164ee5b19f6880b7b5df8d8fb96704350432862) --- source4/ntvfs/posix/pvfs_open.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/ntvfs/posix') diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index d3b9681b58..94749600e1 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -1075,9 +1075,6 @@ NTSTATUS pvfs_open(struct ntvfs_module_context *ntvfs, /* 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); -- cgit