[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-12-18 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-11-25 Thread miss-islington
miss-islington added the comment: New changeset bda2e68c8849e23899b3dad9e436c06303254943 by Miss Islington (bot) in branch '3.8': bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409) https://github.com/python/cpython/commit/bda2e68c8849e23899b3dad9e436c06303254943 --

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-11-25 Thread miss-islington
miss-islington added the comment: New changeset 9d2c2a8e3b8fe18ee1568bfa4a419847b3e78575 by Miss Islington (bot) in branch '3.9': bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409) https://github.com/python/cpython/commit/9d2c2a8e3b8fe18ee1568bfa4a419847b3e78575 --

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-11-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +22396 pull_request: https://github.com/python/cpython/pull/23509 ___ Python tracker ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-11-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +22395 pull_request: https://github.com/python/cpython/pull/23508 ___ Python tracker

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-11-25 Thread Julien Palard
Julien Palard added the comment: New changeset 4fedd7123eaf147edd55eabbbd72e0bcc8368e47 by Julien Palard in branch 'master': bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409) https://github.com/python/cpython/commit/4fedd7123eaf147edd55eabbbd72e0bcc8368e47 --

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-09-19 Thread Tal Einat
Tal Einat added the comment: See also another duplicate of this issue, issue40049. -- nosy: +taleinat versions: +Python 3.10, Python 3.9 ___ Python tracker ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-07-09 Thread Julien Palard
Julien Palard added the comment: Strange fact, this was already fixed in 011525ee92eb1c13ad1a62d28725a840e28f8160 (which closes issue10761, nice spot Andrew) but was lost during a merge in 0d28a61d23: $ git show 0d28a61d23 commit 0d28a61d233c02c458c8b4a25613be2f4979331e Merge: ed3a303548

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-07-09 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +20558 pull_request: https://github.com/python/cpython/pull/21409 ___ Python tracker ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-06-18 Thread Chris AtLee
Change by Chris AtLee : -- pull_requests: +20149 pull_request: https://github.com/python/cpython/pull/20972 ___ Python tracker ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-05-17 Thread Chris AtLee
Chris AtLee added the comment: It's caused by the combination of the symlink existing, and having the tarfile opened in r| mode. If I run the attached test file in a fresh directory, I get the following exception: raceback (most recent call last): File

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-05-17 Thread Julien Palard
Julien Palard added the comment: Hi Chris, which exception did you got exactly? Was it caused by the r| mode or by a symlink (or file) already existing? -- nosy: +mdk ___ Python tracker

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-05-16 Thread Chris AtLee
Chris AtLee added the comment: Is there anything I can do to help get this landed? The PR in github works for me. -- nosy: +catlee ___ Python tracker ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2019-05-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13128 stage: -> patch review ___ Python tracker ___ ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2019-05-09 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The problem is in TarFile.makelink() in Lib/tarfile.py. It calls os.symlink() to create the link, which fails because the link already exists and triggers the exception handler. The exception handler then tries to create the linked file under the

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2019-04-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2014-07-15 Thread Andrew Garner
Andrew Garner added the comment: This seems to be a similar to issue10761 where symlinks are not being overwritten by TarFile.extract but is only an issue in streaming mode and only in python3. To reproduce, attempt to extract a symlink from a tarfile opened with 'r|' and overwrite an

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2014-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: All works to me without exception in 2.7, 3.3 and 3.4. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12800 ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2014-06-25 Thread Mark Lawrence
Mark Lawrence added the comment: ping. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12800 ___ ___ Python-bugs-list mailing

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2011-09-12 Thread Lars Gustäbel
Changes by Lars Gustäbel l...@gustaebel.de: -- assignee: - lars.gustaebel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12800 ___ ___

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2011-08-20 Thread Aurélien Dunand
New submission from Aurélien Dunand aurelien.dunand+pyt...@gmail.com: When you extractall a tarball containing a symlink in stream mode ('r|'), an Exception happens: Traceback (most recent call last): File ./test_extractall_stream_symlink.py, line 26, in module

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2011-08-20 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +lars.gustaebel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12800 ___ ___ Python-bugs-list mailing