[issue12841] Incorrect tarfile.py extraction

Lars Gustäbel report at bugs.python.org
Fri Sep 9 23:40:49 CEST 2011


Lars Gustäbel <lars at gustaebel.de> added the comment:

It's the low-level operating system aspects of tarfile that are very difficult to test, e.g. filesystem and operating system dependent features such as symbolic links, hard links, file permissions, ownership. It is not even possible to reliably determine the filesystem the testsuite currently runs on. Also, superuser privileges are needed for some operations to work, e.g. chown(). A testsuite is normally not run as root, so a test that depends on this will never get enough coverage.

----------

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


More information about the Python-bugs-list mailing list