Solved ProFTPd limits for upload directory

I'm configuring my simple FTP server and have the config as below in which I try to limit the allowed operations in the upload directory. Yet with the settings below I cannot upload anything. Only if I remove the <Limit ALL> part, it works. I'm I missing some allowed commands in the <Directory /home/ftp/in> part?

Code:
<Limit SITE_CHMOD>
  DenyAll
</Limit>

<Limit LOGIN>
  DenyAll
  AllowUser SomeUser
</Limit>

<Limit ALL>
  DenyAll
</Limit>

<Limit CDUP CWD LIST PWD>
  AllowAll
</Limit>

<Directory /home/ftp/in>
  <Limit MKD STOR STOU DELE XMKD RNRF RNTO RMD XRMD>
    AllowAll
  </Limit>
</Directory>
 
Moving the <limit ALL> block inside the <directory> block did the trick. No idea why, but it works now.
 
Back
Top