On Wed, Mar 11, 2009 at 11:56:13AM +0000, Antoine Pitrou wrote: > Oleg Broytmann <phd <at> phd.pp.ru> writes: > > Only root can change file ownership - and yes, there are scripts that > > run with root privileges, so why not copy? > > Because the new function would then be useless for non-root scripts
That's easy to fix - only copy ownership if the effective user id == 0. Oleg. -- Oleg Broytmann http://phd.pp.ru/ p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com