r9952: Adapt better to the Windows way of taking and assigning ownership:
authorGünther Deschner <gd@samba.org>
Fri, 2 Sep 2005 12:53:46 +0000 (12:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:03:29 +0000 (11:03 -0500)
commite722cb25d8b2584a21dc6b4ecbca3b04c4dcb2c1
treee348cd9c2ab8f5fbabf4814cdd028f5f7b731c2a
parenta3ef9eb6dd8b7afe405f0c3e174b319051a3676b
r9952: Adapt better to the Windows way of taking and assigning ownership:

* Users with SeRestorePrivilege may chown files to anyone (be it as a
backup software or directly using the ownership-tab in the security
acl editor on xp), while

* Users with SeTakeOwnershipPrivilege only can chown to themselves.

Simo, Jeremy. I think this is correct now.

Guenther
(This used to be commit 1ef7a192eed457d302a08c692bb54a73a1af4afd)
source3/include/privileges.h
source3/lib/privileges.c
source3/smbd/posix_acls.c