[Python-Dev] Ext4 data loss

Oleg Broytmann phd at phd.pp.ru
Wed Mar 11 13:09:38 CET 2009

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 Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-Dev mailing list