6 .Nd change mode of file
11 .Fn lchmod "const char *path" "mode_t flags"
15 sets the file permission bits of the file specified by the pathname
28 except when the named file is a symbolic link,
31 will change the flags of the link itself,
32 rather than the file it points to.
34 Instead of being a system call,
38 Not all file systems support
41 Upon successful completion, a value of 0 is returned.
42 Otherwise, -1 is returned and the global variable
44 is set to indicate the error.
48 call may return the same errors as