Page 1 of 1

ProFTPD cannot create directory

Posted: Thu Aug 18, 2016 10:40 am
by vijaymani
hi,

after following the guide on vestacp "How to replace vsftpd with ProFTPD on a Debian or Ubuntu" i am unable to create directory after logging in as an ftp user or admin user of vesta cp account. It says
Command: MKD /dfg
Response: 550 /dfg: Permission denied

The folder permissions are all set correctly. What could be wrong. Please help

Re: ProFTPD cannot create directory

Posted: Thu Sep 08, 2016 10:47 am
by Elizine
Add the commands XRMD and XMKD to those allowed by the user. They are described as X-Variants of the commands RMD and MKD and are apparently "often missing from a thorough configuration" according to http://www.castaglia.org/proftpd/doc/co ... Limit.html

So perhaps somewhere in my system these commands are now being used instead.

The end of my config now reads:

Code: Select all

<Directory /home/userftp/upload>
Umask 022 022
AllowOverwrite on
    <Limit READ>
        DenyAll
        </Limit>

        <Limit STOR CWD MKD RMD DELE XRMD XMKD>
        AllowAll
        </Limit>
</Directory>