s3: smbd: Add missing permissions check on destination folder.
authorJeremy Allison <jra@samba.org>
Mon, 5 Dec 2016 22:32:55 +0000 (14:32 -0800)
committerRalph Boehme <slow@samba.org>
Wed, 7 Dec 2016 06:58:26 +0000 (07:58 +0100)
commit91b591224ab7f8ea7b4594da9f61efef14353f7f
treeac637af82b23e70a85651fb39529530840fea88c
parentbeb8a73e95e768565760f79c2a16586bafb4e58c
s3: smbd: Add missing permissions check on destination folder.

Based on code from Michael Zeis <mzeis.quantum@gmail.com>.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12460

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c