ID EN
OS

fchmod

Python 3.11

Change the mode of the file given by fd to the numeric mode. See the docs for chmod() for possible values of mode. As of Python 3.3, this is equivalent to os.chmod(fd, mode).

Syntax

PYTHON
os.fchmod(fd, mode)

See Also

chmod() auditing event Availability WebAssembly platforms