[New-bugs-announce] [issue37601] shutil.make_archive does not follow symlinks for zip archives
Kevin Teague
report at bugs.python.org
Mon Jul 15 20:15:38 EDT 2019
New submission from Kevin Teague <kevin.t.waterbear.cloud at gmail.com>:
Zip archives created with shutil.make_archive will not follow symlinks.
The shutil._make_zipfile uses os.walk:
for dirpath, dirnames, filenames in os.walk(base_dir)
os.walk has the followlinks parameter:
for dirpath, dirnames, filenames in os.walk(base_dir, followlinks=True)
Setting followlinks to True will include symlinks in a zip archive.
Could a followlinks parameter be added to shutil.make_archive?
----------
components: Library (Lib)
messages: 347996
nosy: Kevin Teague
priority: normal
severity: normal
status: open
title: shutil.make_archive does not follow symlinks for zip archives
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37601>
_______________________________________
More information about the New-bugs-announce
mailing list