[issue41884] tempfile.py TemporaryDirectory/mkdtemp defaults to mode 0o700, propose to add mode argument

2020-12-30 Thread Raymond Sit
Change by Raymond Sit : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41884] tempfile.py TemporaryDirectory/mkdtemp defaults to mode 0o700, propose to add mode argument

2020-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can change permissions after creating the directory. The C function mkdtemp() creates the directory with permissions 0o700. -- nosy: +serhiy.storchaka ___ Python tracker

[issue41884] tempfile.py TemporaryDirectory/mkdtemp defaults to mode 0o700, propose to add mode argument

2020-09-29 Thread Raymond Sit
New submission from Raymond Sit : `tempfile.TemporaryDirectory` always creates the directory with 0o700 permissions. So other applications which could run as a different user (i.e. root) cannot access the directory. To improve the usability I would like to add the option to set the