Sets the permission bits of path to mode, following a symbolic link. Throws on failure.
path
mode
Sets the permission bits of path to mode (for example 0o000 to make a directory unsearchable, then 0o755 to restore it).
0o000
0o755
Sets the permission bits of
pathtomode, following a symbolic link. Throws on failure.