ID EN
Pathlib

lchmod

Python 3.11

Like Path.chmod() but, if the path points to a symbolic link, the symbolic link’s mode is changed rather than its target’s.

Syntax

PYTHON
Path.lchmod(mode)

See Also

Path.chmod()