s3/smbd: use correct access in get_file_handle_for_metadata
authorRalph Boehme <slow@samba.org>
Tue, 29 Aug 2017 14:08:06 +0000 (16:08 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:01 +0000 (08:43 +0200)
commit3cd186fdd263ae0f7c761f6e0e558f0fad44b17e
tree483cabacee0b69ca089315ce2ec9dec9e1253ffa
parent096a3f8fdd76fc045e338da96415ba26820e68f1
s3/smbd: use correct access in get_file_handle_for_metadata

All we want here is FILE_WRITE_ATTRIBUTES, not FILE_WRITE_DATA.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12995

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Oct 17 11:48:09 CEST 2017 on sn-devel-144

(cherry picked from commit a3cc2fedab37134edd401b88087e20881c4ea18f)
source3/smbd/dosmode.c