ID EN
OS

chflags

Python 3.11

Set the flags of path to the numeric flags. flags may take a combination (bitwise OR) of the following values (as defined in the stat module):

Syntax

PYTHON
os.chflags(path, flags, *, follow_symlinks=True)

See Also

stat stat.UF_NODUMP stat.UF_IMMUTABLE stat.UF_APPEND stat.UF_OPAQUE stat.UF_NOUNLINK stat.UF_COMPRESSED stat.UF_HIDDEN