Third part of fix for bug #8663 - deleting a symlink fails if the symlink target...
commit42bcd6abe3797e0d22c8404db5edd2b96fccac47
authorJeremy Allison <jra@samba.org>
Fri, 16 Dec 2011 23:43:21 +0000 (16 15:43 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sat, 21 Jan 2012 20:07:17 +0000 (21 21:07 +0100)
tree7ac24dad43262646f0d148c07cd37613f173c83f
parentf352486f9649f5b2a24851d942a5f9c5f6b6e7cc
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.
source3/smbd/file_access.c
source3/smbd/open.c