Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2160,9 +2160,12 @@ features:
for possible values of *mode*. As of Python 3.3, this is equivalent to
``os.chmod(path, mode, follow_symlinks=False)``.

``lchmod()`` is not part of POSIX, but Unix implementations may have it if
changing the mode of symbolic links is supported.

.. audit-event:: os.chmod path,mode,dir_fd os.lchmod

.. availability:: Unix.
.. availability:: Unix, not Linux, FreeBSD >= 1.3, NetBSD >= 1.3, not OpenBSD

.. versionchanged:: 3.6
Accepts a :term:`path-like object`.
Expand Down