ProFTPD - setting RLimitChroot for specific folders

102 Views Asked by At

User reported they can not upload a folder named etc or lib. Found this article Permission denied on directory with specific name that says I need to set RLimitChroot to off in my proftpd.conf file.

When I set this at the end of my proftpd.conf it works. This is global though. In my proftpd.conf I define directories and would like to only disable RLimitChroot for specific ones..

I haven't found any documentation showing I can or how to enable it only for specific directories... Here's the last few lines of my proftpd.conf showing the directories I want to disable it for. My users home folders are defined as /pub/web/user

<Directory /pub/web/*>
        <Limit DIRS>
                AllowALL
                IgnoreHidden off
        </Limit>
        <Limit STOR WRITE DIRS READ XRMD XMKD>
                AllowALL
        </Limit>
</Directory>

RLimitChroot off

Debian 11 Bullseye

ProFTPD Version 1.3.7a

0

There are 0 best solutions below