[Python-bugs-list] [ python-Bugs-755617 ] os module: Need a better description of "mode"
SourceForge.net
noreply@sourceforge.net
Mon, 16 Jun 2003 17:13:09 -0700
Bugs item #755617, was opened at 2003-06-16 17:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=755617&group_id=5470
Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Shomphe (mshomphe)
Assigned to: Nobody/Anonymous (nobody)
Summary: os module: Need a better description of "mode"
Initial Comment:
The page <http://www.python.
org/doc/current/lib/os-file-dir.html> says the following
about the function os.chmod:
chmod(path, mode)
Change the mode of path to the numeric mode.
Availability: Unix, Windows.
The "mode" values are unclear. It turns out that the
UNIX file permission set (e.g., 0666 for read/writeable)
works with the Windows set (where 0666 translates to
33206).
Is it possible to describe the file permissions in more
detail in the documentation at this point?
Attached is an email thread discussing this
documentation issue.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=755617&group_id=5470