其他分享
首页 > 其他分享> > 解决pureftp目录无法显示的问题

解决pureftp目录无法显示的问题

作者:互联网

解决pureftp目录无法显示的问题

# pureftp账号登录后发现很多目录无法显示,通过查看配置文件发现是

LimitRecursion 10000 8 # 这个限制,最多能列出10000个文件

# public_html 这个目录下有10917,修改这个参数并且重启pureftp即可
root@server1 [/home/aaa]# ls public_html/|wc -l
10917


root@server1 [/home/aaa/public_html]# egrep -v '^#|^$' /etc/pure-ftpd.conf
ChrootEveryone yes
BrokenClientsCompatibility no
MaxClientsNumber 50
Daemonize Yes
MaxClientsPerIP 32
VerboseLog no
DisplayDotFiles yes
AnonymousOnly no
NoAnonymous yes
SyslogFacility ftp
DontResolve yes
MaxIdleTime 15
ExtAuth /var/run/ftpd.sock
LimitRecursion 10000 8
AnonymousCanCreateDirs no
MaxLoad 1
PassivePortRange 48000 49000
AntiWarez yes
Bind 0.0.0.0,21
Umask 133:022
MinUID 100
AllowUserFXP no
AllowAnonymousFXP no
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
AutoRename no
AnonymousCantUpload yes
AltLog xferlog:/usr/local/apache/domlogs/ftpxferlog
MaxDiskUsage 99
CustomerProof yes
TLS 1
TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
IPV4Only yes


# 
root@server1 [/home/edra0604]# egrep -v '^#|^$' /etc/pure-ftpd.conf
ChrootEveryone yes
BrokenClientsCompatibility no
MaxClientsNumber 50
Daemonize Yes
MaxClientsPerIP 32
VerboseLog no
DisplayDotFiles yes
AnonymousOnly no
NoAnonymous yes
SyslogFacility ftp
DontResolve yes
MaxIdleTime 15
ExtAuth /var/run/ftpd.sock
LimitRecursion 20000 8
AnonymousCanCreateDirs no
MaxLoad 1
PassivePortRange 48000 49000
AntiWarez yes
Bind 0.0.0.0,21
Umask 133:022
MinUID 100
AllowUserFXP no
AllowAnonymousFXP no
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
AutoRename no
AnonymousCantUpload yes
AltLog xferlog:/usr/local/apache/domlogs/ftpxferlog
MaxDiskUsage 99
CustomerProof yes
TLS 1
TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
IPV4Only yes

 

标签:ftpd,no,0.0,无法,home,yes,pureftp,目录
来源: https://www.cnblogs.com/reblue520/p/12583718.html