Ensure we don't try the open_file_fchmod() if we can't write to the file.
commit77e3099483489ef4d59087dc6542fe7f7b589224
authorJeremy Allison <jra@samba.org>
Thu, 25 Apr 2013 21:02:24 +0000 (25 14:02 -0700)
committerVolker Lendecke <vl@samba.org>
Sat, 27 Apr 2013 12:11:10 +0000 (27 14:11 +0200)
tree34f2ff96e912ca805a09379d7d34b50638ea0af8
parenta91aac4a5f0bd2077be267e49d1fc4f0321bb39c
Ensure we don't try the open_file_fchmod() if we can't write to the file.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/dosmode.c