[issue41419] Path.mkdir and os.mkdir don't respect setgid if its parent is g-s

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue41419] Path.mkdir and os.mkdir don't respect setgid if its parent is g-s

2020-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: os.mkdir() is a thin wrapper around syscalls mkdir or mkdirat. Path.mkdir() is a thin wrapper around os.mkdir(). If you think that the behavior of mkdir differs from the documentation please file a report in the Linux kernel. -- nosy: +serhiy.storc

[issue41419] Path.mkdir and os.mkdir don't respect setgid if its parent is g-s

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41419] Path.mkdir and os.mkdir don't respect setgid if its parent is g-s

2020-07-28 Thread Christopher Harrison
New submission from Christopher Harrison : The setgid bit is not set when creating a directory, even when explicitly specified in the mode argument, when its containing directory doesn't have its own setgid bit set. When the parent does have the setgid bit, it works as expected. Steps to rep