Fix bug #6876 - Delete of an object whose parent folder does not have delete rights...
authorJeremy Allison <jra@samba.org>
Wed, 13 Jan 2010 00:04:44 +0000 (16:04 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 09:59:30 +0000 (10:59 +0100)
commit7fb2c6feb0936d1ba0e0cf4f2f878bda59799147
tree49752ebcf603212e79918d3c89c2ef2e57af1f23
parent70975e2dd2deda052ca2f5e0bdb1a4af6b6cf29a
Fix bug #6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object.

Final fix for the vfs_acl_xattr and vfs_acl_tdb code.
Ensure we can delete a file even if the underlying POSIX
permissions don't allow it, if the Windows permissions do.

Jeremy.
(cherry picked from commit 47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae)
(cherry picked from commit eec11c0d2ba61aa2f86a100064b3a9de3f56bb7d)
source3/include/smb.h
source3/locking/locking.c
source3/modules/vfs_acl_common.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c
source3/smbd/close.c
source3/smbd/posix_acls.c