How would I prevent writing and deleting to the ~/site/backups/ directory in the ProFTPD config?
So far: I think I have figured out how to disable any kind of deleting:
<Directory ~/site/backups> <Limit DELE> DenyAll </Limit> <Limit RMD> DenyAll </Limit> </Directory>
If there is any better bullet proof way to disable deleting and also some examples on how I can prevent editing/writing as well.
Just to note, I can't simply do with permissions because I use the owner and group to calculate quotas in an advanced way. Also, editing and deleting is allowed through the panel, which gets ran as their user. However, I don't want them to be able to do it VIA FTP.