[issue41461] test_pathlib assumes underlying filesystem permits creation with world-write permissions

2021-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: umask(0o002) looks good idea (and perhaps umask(0o026) instead of umask(0o022)). Please add also a short explanation comment. -- nosy: +serhiy.storchaka ___ Python tracker __

[issue41461] test_pathlib assumes underlying filesystem permits creation with world-write permissions

2020-08-03 Thread Michael Felt
New submission from Michael Felt : Two tests in test_pathlib test that the files created have mode o666 (rw-rw-rw). However, on a filesystem (in my case NFS) configured to never permit global write - the test will always fail. Is this something to be concerned about? I can think of a few pos