是否可以使用 Proftpd 隐藏目录?
特别是 .svn 目录。
有HideFiles但没有HideDirectories指令。HideFiles 的问题在于它与完整路径不匹配。
<Directory /home/ftp_user/my_project >
# Despite trying to hide this directory it still shows up
# as /.svn in the ftp client.
HideFiles "^\.svn"
<Limit ALL>
allowuser ftp_user
</Limit>
</Directory>
Run Code Online (Sandbox Code Playgroud)
还有另一种隐藏目录的方法吗?