summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-04 06:14:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:12 -0500
commitba205b314390474ecf263a9b6094330d6bc37a80 (patch)
treed2c94f57664f874166e0a4074e45ca93a6358eac /source4/ntvfs
parent2f7f278cf17be3abe921047b0d56a0b9f9c0e348 (diff)
downloadsamba-ba205b314390474ecf263a9b6094330d6bc37a80.tar.gz
samba-ba205b314390474ecf263a9b6094330d6bc37a80.tar.bz2
samba-ba205b314390474ecf263a9b6094330d6bc37a80.zip
r9054: removed incorrect paranoia check on opening streams (this caused RAW-STREAMS to fail)
(This used to be commit c164ee5b19f6880b7b5df8d8fb96704350432862)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_open.c3
1 files changed, 0 insertions, 3 deletions
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);