LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 813|回复: 0

配置了ftp,ftp这个非登录用户无法上传文件,情帮忙!谢谢!

[复制链接]
发表于 2005-11-19 15:37:54 | 显示全部楼层 |阅读模式
vsftpd.conf内容如下:
2 local_enable=YES
3 write_enable=YES
4 local_umask=022
5 dirmessage_enable=YES
6 ftpd_banner=Welcome to hbliu's FTP server
7 pam_service_name=vsftpd
8 listen=YES
9 tcp_wrappers=YES
10 dirlist_enable=YES
11 download_enable=YES
用ftp这一用户登录后:
ftp> ls
227 Entering Passive Mode (192,168,0,17,160,235)
150 Here comes the directory listing.
drwxrwxrwx 2 14 502 4096 Nov 17 13:58 pub
226 Directory send OK.
ftp> put
(local-file) crypttext.pl
(remote-file) crypttext.pl
local: crypttext.pl remote: crypttext.pl
227 Entering Passive Mode (192,168,0,17,232,125)
550 Permission denied.
我已经设置了相当不安全的权限,
[lhb@localhost ~]$ ll /var/ftp/
总用量 8
drwxrwxrwx 2 ftp ftpuser 4096 11月 17 21:58 pub
但是为什么还是传输不了呢?
用本地可登录用户登录ftp则一切ok ,可以读写.大虾帮忙!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表