[issue20779] Add pathlib.chown method
Tom Cook
report at bugs.python.org
Mon Jun 28 06:15:57 EDT 2021
Tom Cook <tom.k.cook at gmail.com> added the comment:
+1 this.
I have a program that opens a UNIX socket as root for other processes to communicate with it. I need to set the permissions to 0o775 and set the owner gid to a specific group so that members of that group can communicate with the process. It's annoying to have to drop back to `os.chown(str(path), ...)` for this.
----------
nosy: +Tom Cook
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20779>
_______________________________________
More information about the Python-bugs-list
mailing list