[docs] [issue25377] Mention octal format of mode argument of os.chmod

Karl Richter report at bugs.python.org
Sun Oct 11 17:36:26 CEST 2015


New submission from Karl Richter:

`help(os.chmod)` doesn't explain that it expects an octal number for its `mode` argument. This is very confusing for beginners and people who are not involved with filesystems and permissions every day. It doesn't need to be explained, just mentioned, maybe with a link to an extended explanation.

Example for confusion: http://stackoverflow.com/questions/15607903/python-module-os-chmodfile-664-does-not-change-the-permission-to-rw-rw-r-bu

----------
assignee: docs at python
components: Documentation
messages: 252817
nosy: docs at python, krichter
priority: normal
severity: normal
status: open
title: Mention octal format of mode argument of os.chmod
type: enhancement
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25377>
_______________________________________


More information about the docs mailing list