allowed-site-commands |
NcFTPd general.cf file configuration Don't forget to restart NcFTPd after modifying the general.cf file. |
NcFTPd supports a commonly adopted method for additional commands that are not required or specified by the official protocol. An FTP client can invoke these commands by issuing a SITE command. For example, the FTP client could send SITE CHMOD 644 index.html to run the chmod command extension.
The default action is to let a user perform any SITE command that their login privilege permits. These commands are:
This option is here in case you want to control which commands the remote users can run. The right hand side is a comma-delimited list of commands you want, or the special keywords all or none. Since users can't change files unless they would be able to at a regular login shell, it is recommended to leave the default set to all.
Note: As of version 2.7.2, configuring SITE UTIME also configures
the equivalent non-standard datestamping functionality in MDTM (for example,
Examples: