FTP users can access the main user account folder?/

On Ubuntu 20.04

So wehn i installed the OS, i named the user vmadmin.
Well i have made 2 virtual servers and connected to it via FTP as one of the virtual server owner/admin…i cant get into the other(that is expected) but i can however, get into the vmadmin folder. shouldnt that be blocked as well?

This is a good question and the answer depends on who created that vmadmin directory at the first place? I presume it was done by the OS installer? If so, did the OS installer set permissions on that user vmadmin home directory to 755 (or didn’t enforce it to 750)?

The fix would be is to run the following command:

chmod 750 /home/vmadmin

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.