[New-bugs-announce] [issue46514] Pathlib Path.touch() seems to ignore groups write bit for mode parameter
Savo Vuksan
report at bugs.python.org
Tue Jan 25 06:41:01 EST 2022
New submission from Savo Vuksan <savovuksan at gmail.com>:
The touch function of the Path Object in the Pathlib module seems to ignore the write bit for the second octal number for the groups permission in the mode parameter
In the provided script you can see that the output prints
-rwxr-xr--
but it should be
-rwxrwxr--
I use python 3.9 on a Linux machine running manjaro with following kernel: 5.13.19-2-MANJARO
----------
components: IO
files: bug.py
messages: 411577
nosy: SavoVuksan
priority: normal
severity: normal
status: open
title: Pathlib Path.touch() seems to ignore groups write bit for mode parameter
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file50583/bug.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46514>
_______________________________________
More information about the New-bugs-announce
mailing list