Proftpd virtualmin 550 Overwrite permission denied
We had an issue on a couple of servers where we couldn't overwrite existing files in an FTP directory for a given virtualhost within virtualmin. The error reported
Status: Connected Status: File transfer successful, transferred 879 bytes in 2 seconds Status: Starting upload of C:\Users\000\Desktop\newfile.php Command: PASV Response: 227 Entering Passive Mode (xxx,xxx,xxx,xxx,xxx,5). Command: STOR newfile.php Response: 550 newfile.php: Overwrite permission denied Error: Critical file transfer error
We found a fix which was to place in the file nano /etc/proftpd/proftpd.conf
the value AllowOverwrite on
below the DefaultRoot ~
DefaultRoot ~ AllowOverwrite on
After which you need to restart the proftpd service using: /etc/init.d/proftpd restart