Chgrp,
Umask,
Chown,
Stat,
Symlink,
Sticky,
Chflags,
Find,
Setmode,
Fts_open,
Install,
Chmod CHMOD(1) - General Commands Manual # CHMOD(1) - General Commands Manual
NAME # chmod - change file modes
SYNOPSIS # chmod [-h] [-R [-H | -L | -P]] mode file …
DESCRIPTION # The chmod utility modifies the file mode bits of the listed files as specified by the mode operand. The mode of a file dictates its permissions, among other attributes.
The options are as follows:
-H
If the -R option is also specified, symbolic links on the command line are followed.
...
INSTALL(1) - General Commands Manual # INSTALL(1) - General Commands Manual
NAME # install - install binaries
SYNOPSIS # install [-bCcDdFpSs] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] source … target …
DESCRIPTION # The source file(s) are copied to the target file or directory. If the target file already exists, it is either renamed to file.old if the -b option is given or overwritten if permissions allow.
...
PKG_SUBST(1) - General Commands Manual # PKG_SUBST(1) - General Commands Manual
NAME # pkg_subst - substitute variables’ values in files
SYNOPSIS # pkg_subst [-ci] [-B basedir] [-D name[=value]] [-g group] [-m mode] [-o owner] [file …]
DESCRIPTION # pkg_subst is used within the ports tree to substitute variable values, using the exact same conventions used by pkg_create(1). Constructs like ${VAR} will be replaced with the variable value, according to -D name[=value] options.
...