This extends tarfile to apply umask (before ever creating the file with tar's default chown).
This should work if the program does not change its own umask. It is probably necessary to check umask with a global lock such as the one used by module level globals in the import system for thread safety.
Description
This extends tarfile to apply umask (before ever creating the file with tar's default chown).
This should work if the program does not change its own umask. It is probably necessary to check umask with a global lock such as the one used by module level globals in the import system for thread safety.
Resolves https://github.com/conda/conda/issues/12829