免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1685 | 回复: 1
打印 上一主题 下一主题

[FTP] 我的配置文件。。为什么上船的时候说550没有权限呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-04 11:58 |只看该作者 |倒序浏览
  1. ServerName "******"
  2. ServerType standalone
  3. DefaultServer on
  4. ServerIdent off
  5. Port 21
  6. Umask 022

  7. MaxLoginAttempts 3
  8. TimeoutLogin 120
  9. TimeoutIdle 600
  10. TimeoutNoTransfer 900
  11. TimeoutStalled 3600
  12. MaxClients 100
  13. MaxClientsPerHost 3
  14. AllowOverwrite no
  15. AllowStoreRestart on
  16. UseReverseDNS off

  17. RequireValidShell off

  18. DefaultRoot ~ ftpusers
  19. DefaultRoot ~ FTPGRP

  20. MaxInstances 30

  21. User FTPUSR
  22. Group FTPGRP

  23. Normally, we want files to be overwriteable.
  24. <Directory />
  25. AllowOverwrite on
  26. </Directory>

  27. # A basic anonymous configuration, no upload directories.
  28. <Anonymous /ftp>
  29. User ftp
  30. Group ftpusers

  31. # We want clients to be able to login with "anonymous" as well as "ftp"
  32. UserAlias anonymous ftp

  33. # Limit the maximum number of anonymous logins
  34. MaxClients 10

  35. # We want 'welcome.msg' displayed at login, and '.message' displayed
  36. # in each newly chdired directory.
  37. DisplayLogin welcome.msg
  38. DisplayFirstChdir .message

  39. # Limit WRITE everywhere in the anonymous chroot
  40. #<Limit WRITE>
  41. # DenyAll
  42. #</Limit>

  43. </Anonymous>

  44. SQLConnectInfo FTPUSERS@localhost root ******

  45. SQLAuthTypes Backend Plaintext

  46. SQLUserInfo FTPUSERS userid passwd uid gid homedir shell
  47. SQLGroupInfo FTPGRPS groupname gid members

  48. SQLAuthenticate users groups usersetfast groupsetfast

  49. SQLHomedirOnDemand on

  50. QuotaDirectoryTally on

  51. QuotaDisplayUnits "Kb"

  52. QuotaEngine on

  53. QuotaLog "/var/log"

  54. QuotaShowQuotas on

  55. SQLNamedQuery get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail,f
  56. iles_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"

  57. SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_use
  58. d, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"

  59. SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_us
  60. ed = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_x
  61. fer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies

  62. SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies

  63. QuotaLimitTable sql:/get-quota-limit
  64. QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally
复制代码

论坛徽章:
0
2 [报告]
发表于 2006-06-06 10:08 |只看该作者
用什么用户上传?

目录的权限?

proftpd -nd 9 用debug方式启动proftpd,看debug信息
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP