Third part of fix for bug #8663 - deleting a symlink fails if the symlink target...
authorJeremy Allison <jra@samba.org>
Fri, 16 Dec 2011 23:43:21 +0000 (15:43 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Mar 2012 19:55:25 +0000 (20:55 +0100)
commit6c15644c8bb1be1029a418b525758e38949938f4
tree453c16c32fc1b1c0a429c0ba67eb3ee2d66c4d0e
parent7b61a2db1fb436370fb1d8366f21bcf91ede1762
Third part of fix for bug #8663 - deleting a symlink fails if the symlink target is outside of the share.

can_access_file_acl() - we can always delete a symlink.
can_delete_file_in_directory() - We don't need to do another STAT call
here, we know smb_fname->st is in a valid state.
smbd_check_open_rights() - we can always delete a symlink.
(cherry picked from commit 42bcd6abe3797e0d22c8404db5edd2b96fccac47)
source3/smbd/file_access.c
source3/smbd/open.c