Ensure we don't try the open_file_fchmod() if we can't write to the file.
commite90f140baf54c2e8fcbefc273e1d760900deea9a
authorJeremy Allison <jra@samba.org>
Thu, 25 Apr 2013 21:02:24 +0000 (25 14:02 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 10 Jun 2013 19:22:50 +0000 (10 21:22 +0200)
tree9897d15680b0dc98862488eb3130b89e543f643e
parent02a9d789d1c81fff2889109dd162be3f829bc126
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>
(cherry picked from commit 77e3099483489ef4d59087dc6542fe7f7b589224)
source3/smbd/dosmode.c