I am trying to create a FTP user under “edit users” panel, I set the home directory to be "website subdirectory: medias/ ". When I test login with this new user, the default folder is medias/, however, it can go up to the “public_html” folder and can even modify its files. This is clearly not right.
How can I set medias/ as this new user’s root folder?
Little tired here so my brain is not at 100% but one thing what comes in my mind is because of group permission, e.g. domain user and subdomain user are part of the same group [permission]. Another thing could be “ProFTPD virtual FTP”. Check if you have this enabled with that virtual server and turn it off (uncheck). Either way you dont need this option aside for anonymous FTP and i’m pretty sure you are not using it. Last but not least, check again what is default directory for subdomain user.