Path.lchmod

void lchmod(uint mode) const

Changes file permissions, following symlinks (POSIX only).

NOTE: On Windows this function does nothing.

Parameters

modeThe new permissions mode.