---
title: "Proftpd virtualmin 550 Overwrite permission denied"
date: "2013-03-21"
path: "/118-proftpd-virtualmin-550-overwrite-permission-denied.html"
section: "/ramblings"
aliases:
  - "/118"
  - "/118-proftpd-virtualmin-550-overwrite-permission-denied"
  - "/118.html"
  - "/ramblings/118-proftpd-virtualmin-550-overwrite-permission-denied.html"
---

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](http://www.virtualmin.com/node/9885) 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`
