[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

Christian Heimes report at bugs.python.org
Wed Feb 13 13:05:55 CET 2013


Christian Heimes added the comment:

Sorry for the extra noise. I got into a comment conflict with Hynek.

Hynek,
I don't think it's going to break lots of apps. setuid/setgid programs are rare these days. Most operating system ignore sticky bits on files, too.

It may break system scripts that copy entire Unix systems with a recursive copytree(), though ...

----------
nosy: +benjamin.peterson, georg.brandl, larry
priority: high -> release blocker
stage: needs patch -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17180>
_______________________________________


More information about the Python-bugs-list mailing list