u-auto-chmod-uploads NcFTPd general.cf file configuration
Don't forget to restart NcFTPd after modifying the general.cf file.

The server automatically changes turns on the execute bit for files uploaded by non-anonymous users that appear executable.

This shouldn't be a concern because it only affects the file mode, which the user could change anyway with SITE CHMOD.  The user cannot execute the program uploaded from within FTP, but it can save the user the hassle from logging in just to /bin/chmod the file.

A file that is eligible for auto-chmod if:

The execute bits are still affected by the current umask, so if the umask was 077, the auto-chmod feature would only be able to turn on user-execute (chmod u+x).


Previous: u-always-restrict-virtual-users NcFTPd Home Next: u-deny-users-file