• 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

ProFTPD - hide hidden files

KamilL

New Pleskian
Hello,
I created a user on my machine which has a home directory in /home/.... In order to be able to connect over ftp I simply added the user to the psacln group. Connecting over FTP I don't want the user to see hidden files and folders.

After:
<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

I added:
<Directory /home/*>
GroupOwner psacln
ListOptions "-A" strict
</Directory>

But it just doesn't work. I still see the hidden files. I also tried adding (into the directory block)

<Limit ALL>
IgnoreHidden on
</Limit>

and it didn't help. Can anyone help me on this?
 
Googled & tried

Edit: HideFiles ^\..* worked. I got no idea why it didn't work before.
 
Last edited:
Back
Top