[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-221-g923aa9f

Jeremy Allison jra at samba.org
Tue Mar 11 20:59:42 GMT 2008


The branch, v3-2-test has been updated
       via  923aa9f330cb370221af6b66cf0f237a9bd06f8e (commit)
      from  632f3fe66fbcbe3cc25d070c3885177264f5ad65 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 923aa9f330cb370221af6b66cf0f237a9bd06f8e
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Mar 11 13:59:04 2008 -0700

    Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/trans2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index 85a7cdb..d7a0f6e 100644
--- a/source/smbd/trans2.c
+++ b/source/smbd/trans2.c
@@ -4930,7 +4930,7 @@ static NTSTATUS smb_set_file_size(connection_struct *conn,
 	}
 
 	status = open_file_ntcreate(conn, req, fname, psbuf,
-				FILE_READ_ATTRIBUTES|FILE_WRITE_ATTRIBUTES,
+				FILE_WRITE_ATTRIBUTES,
 				FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,
 				FILE_OPEN,
 				0,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list