Modification of fix for bug 6876 - Delete of an object whose parent folder does not...
commit60de807f98aec9b1dcbf3455f17988b0637540d7
authorJeremy Allison <jra@samba.org>
Sun, 17 Jan 2010 01:03:06 +0000 (16 17:03 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 09:59:30 +0000 (25 10:59 +0100)
treeab00381a0812117df43dc7a9246f6b387f1b3b8f
parent7fb2c6feb0936d1ba0e0cf4f2f878bda59799147
Modification of fix for 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

Suggested by Volker. Reduce the surface area of the
become_root() unbecome_root() code to reduce the chance
of errors.

Jeremy.
(cherry picked from commit 98a495f1e674b7562a3d8b5dfc958ee95d256896)
(cherry picked from commit 8c8412fa88f752797abebd940d488b1c09009d96)
source3/modules/vfs_acl_common.c