zoukankan      html  css  js  c++  java
  • 解决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
  • 相关阅读:
    【NX二次开发】修改dlx对话框标题的方法
    【NX二次开发】导入x_t,UF_PS_import_data
    设置NX欢迎界面
    [转]10个顶级的CSS UI开源框架
    [转] 多线程 《深入浅出 Java Concurrency》目录
    [转] JAVA多线程和并发基础面试问答
    [转]StuQ 技能图谱(全套13张)
    [转] MongoDB shell 操作 (查询)
    搜集好的java技术帖子,持续更新,java程序员的要求
    [转]JAVA程序员一定知道的优秀第三方库(2016版)
  • 原文地址:https://www.cnblogs.com/reblue520/p/12583718.html
Copyright © 2011-2022 走看看