[issue38286] tarfile forgets set sgid when targetpath has it

2019-09-26 Thread Charles Coulombe


New submission from Charles Coulombe :

An archive that does not have sgid that is extracted in a directory with sgid 
set does not end up having its sgid set since the targetpath is chmod with the 
mode of the tarinfo. (Lib/tarfile.py#L2277) 

For comparison, an archive extracted with tar has the sgid bit set.

I added a patch as attachment to gather comments before making this PR.

--
components: Library (Lib)
files: tarfile_sgid.patch
keywords: patch
messages: 353305
nosy: Charles Coulombe
priority: normal
severity: normal
status: open
title: tarfile forgets set sgid when targetpath has it
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7
Added file: https://bugs.python.org/file48626/tarfile_sgid.patch

___
Python tracker 
<https://bugs.python.org/issue38286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38286] tarfile forgets set sgid when targetpath has it

2019-10-25 Thread Charles Coulombe


Change by Charles Coulombe :


Added file: https://bugs.python.org/file48678/tarfile_sgid.patch

___
Python tracker 
<https://bugs.python.org/issue38286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38286] tarfile forgets set sgid when targetpath has it

2019-10-25 Thread Charles Coulombe


Change by Charles Coulombe :


Removed file: https://bugs.python.org/file48626/tarfile_sgid.patch

___
Python tracker 
<https://bugs.python.org/issue38286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21042] ctypes.util.find_library() should return full pathname instead of filename in linux

2021-12-09 Thread Charles Coulombe


Charles Coulombe  added the comment:

Any update on this issue? 

This would be helpful to HPC systems that don't have libraries installed in 
standard place, and to standardize find_library as well!

--
nosy: +Charles Coulombe
versions:  -Python 3.6

___
Python tracker 
<https://bugs.python.org/issue21042>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com