This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SavoVuksan
Recipients SavoVuksan
Date 2022-01-25.11:41:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643110861.51.0.78665540469.issue46514@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2022-01-25 11:41:01SavoVuksansetrecipients: + SavoVuksan
2022-01-25 11:41:01SavoVuksansetmessageid: <1643110861.51.0.78665540469.issue46514@roundup.psfhosted.org>
2022-01-25 11:41:01SavoVuksanlinkissue46514 messages
2022-01-25 11:41:01SavoVuksancreate