[Python-Dev] Ext4 data loss
Antoine Pitrou
solipsis at pitrou.net
Wed Mar 11 13:25:08 CET 2009
Oleg Broytmann <phd <at> phd.pp.ru> writes:
>
> That's easy to fix - only copy ownership if the effective user id == 0.
But errors should not pass silently. If the user intended the function to copy
ownership information and the function fails to do so, it should raise an
exception.
Having implicit special cases in an API is usually bad, especially when it has
an impact on security.
More information about the Python-Dev
mailing list