ID EN
OS

lchflags

Python 3.11

Set the flags of path to the numeric flags, like chflags(), but do not follow symbolic links. As of Python 3.3, this is equivalent to os.chflags(path, flags, follow_symlinks=False).

Syntax

PYTHON
os.lchflags(path, flags)

See Also

chflags() auditing event Availability path-like object