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.

classification
Title: os.mknod is subject to "umask"
Type: Stage:
Components: Documentation Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Mariatta Nosy List: Mariatta, anthonypjshaw, docs@python, james_r_c_stevens
Priority: normal Keywords:

Created on 2018-06-26 13:35 by james_r_c_stevens, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
Selection_2018-06-26_003.png james_r_c_stevens, 2018-06-26 13:35
Messages (2)
msg320490 - (view) Author: James Stevens (james_r_c_stevens) * Date: 2018-06-26 13:35
As per the underlying "libc" call, the node created with "mknod" is subjected to the user's current umask setting.

This is not made clear in the Python documentation, but the "libc" documentation makes this clear (see attached).
msg341628 - (view) Author: anthony shaw (anthonypjshaw) * (Python triager) Date: 2019-05-06 19:50
NB: This issue would be good for PyCon sprints
History
Date User Action Args
2022-04-11 14:59:02adminsetgithub: 78152
2019-05-06 19:50:59anthonypjshawsetassignee: docs@python -> Mariatta

nosy: + Mariatta
2019-05-06 19:50:38anthonypjshawsetnosy: + anthonypjshaw
messages: + msg341628
2018-06-26 13:35:56james_r_c_stevenscreate