Hello.
I'm looking for a way to preserve the file attributes (eg. read-only) of a file that gets written to a zipfile.ZipFile instance.
The files I add to the zip archive gets their file attributes reset, eg. the read-only flag is gone when inspecting the archive with zip applications and after unzip.
My current environment is Windows and I'm having problems with the ZipInfo.external_attr method.
Surely there must be an standard way of preserving file attributes when writing to ZipFile?