Issue31515
Created on 2017-09-19 08:04 by fpom, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg302507 - (view) | Author: Franck Pommereau (fpom) | Date: 2017-09-19 08:04 | |
Documentation of os.makedirs says "The default mode is 0777 (octal)" but when I use os.makedirs("foo"), the directory is created with permissions 0755.
Documentation should be updated or default mode fixed.
I've tested it only with Python 2.7.6 and 3.4.3 (those installed on my computer).
|
|||
| msg302508 - (view) | Author: Franck Pommereau (fpom) | Date: 2017-09-19 08:08 | |
Sorry for the noise, I just discovered in the doc for os.mkdir that UMASK is applied on the mode passed to the functions. So the behaviour is actually correct. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:52 | admin | set | github: 75696 |
| 2017-09-19 08:08:53 | fpom | set | status: open -> closed resolution: not a bug messages: + msg302508 stage: resolved |
| 2017-09-19 08:04:54 | fpom | create | |