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)
commit1ef7a192eed457d302a08c692bb54a73a1af4afd
tree901210ac9fed7ebcfd552a256eba2518ad32d75a
parentea642ac3f1c63c74e78e87897d1e9cdc58fd5341
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
source/include/privileges.h
source/lib/privileges.c
source/smbd/posix_acls.c