• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How 2 make these root ftp directories invidible for ftp user?

B

belyakov

Guest
How 2 make these root ftp directories invisible for ftp user?

When user loggs in via ftp there are a lot of directories that he can not modify or read... is there any way to hide them from user? Just to make all those root-owned directorie invisible?
 
I think, its ok, when he can see what he "owns" ....

I give my users the info, that they should use "httpdocs" as their standard folder in their ftp clients and then tey see first the html main directory.
 
Originally posted by Outlaw
I think, its ok, when he can see what he "owns" ....

I give my users the info, that they should use "httpdocs" as their standard folder in their ftp clients and then tey see first the html main directory.


But still is there any way to do it. Maybe i should ajust the settings of FTP server?
 
Hiding FTP root directories

Hi there,

I'm also interested in being able to hide the directories not owned by the ftp user. If anyone has any ideas how to do this, please let us know!

Kind regards


Jim
 
Hit the search button, it has been explained more than once here how to hide root owned directories in each user account.

Search for proftpd.conf and GroupOwner ...

Hint (as I did the search anyways):

As jshanley (among others) wrote:

Find your proftpd.conf file, and scroll down to the section that says:
Code:
<Directory /usr/local/psa/home/vhosts>
GroupOwner psacln
</Directory>
Change it to look like this instead:
Code:
<Directory /usr/local/psa/home/vhosts>
GroupOwner psacln
HideNoAccess On
HideUser root
</Directory>
 
Back
Top