Fix bug #6297 - owner of sticky directory cannot delete files created by others....
commit966a51da8998cfd15875ba047b7f765c84b914dd
authorJeremy Allison <jra@samba.org>
Fri, 12 Jun 2009 13:41:20 +0000 (12 15:41 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 12 Jun 2009 13:44:11 +0000 (12 15:44 +0200)
tree86a2d9becb7f86ebf2f734d77ef0da9dfa8185a8
parentadbba72c332b59f4ffe87cb25c5ec7f8d90148dc
Fix bug #6297 - owner of sticky directory cannot delete files created by others. The reason we couldn't delete was we were erroring out early if requestor was not the owner of the file we wanted to delete, instead of checking if the requestor owned the directory as well. If either of these is true, we must go on and check the ACL. Karolin, this is a must for 3.4.0 and also 3.3.next. I'll update the bug report with patches for 3.4.0 and 3.3.next and ask vl to review. Jeremy.
source/smbd/file_access.c