svn commit: samba r9946 -
Gerald (Jerry) Carter
jerry at samba.org
Fri Sep 2 13:26:40 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
gd at samba.org wrote:
> Author: gd
> Date: 2005-09-02 09:16:08 +0000 (Fri, 02 Sep 2005)
> New Revision: 9946
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9946
> allow the priv-based chown (se_take_ownership) to chown to other users
> (not only to the current_user.uid).
> Jeremy, please have a look.
This changes the entire meaning of SeTakeOwnership. We have already
release the SeTakeOwnershipPrivilege in 3.0.20 to mean change
ownership to yourself only. I'm not sure this is a good idea.
IMO this is too dangerous to be done via Samba. For example,
a user with SeTakeOwnership could create a script with the
setuid bit and then change the ownership to root.
I'd vote -1 on this patch due to security concerns.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical