[font=楷体_GB2312] 给了权限,为什么我的vsftpd匿名用户无法上传!?以下是相关的配置文件和/var/ftp目录的权限设置情况,期待高手给指点一下![/font][font=楷体_GB2312]
[font=Times New Roman][size=3][color=#000000]anon_upload_enable=YES[/font]
[font=Times New Roman]anon_mkdir_write_enable=YES[/font]
[font=Times New Roman]dirmessage_enable=YES[/font]
[font=Times New Roman]xferlog_enable=YES[/font]
[font=Times New Roman]connect_from_port_20=YES[/font]
[font=Times New Roman]xferlog_std_format=YES[/font]
[font=Times New Roman]ascii_upload_enable=YES[/font]
[font=Times New Roman]ascii_download_enable=YES[/font]
[font=Times New Roman]ftpd_banner=Welcome to blah FTP service.[/font]
[font=Times New Roman]pam_service_name=vsftpd[/font]
[font=Times New Roman]userlist_enable=YES[/font]
[font=Times New Roman]listen=YES[/font]
[font=Times New Roman]tcp_wrappers=YES[/font]
[/color][/size][/font]
karon_fedora 于 2007-07-26 19:24:45发表:
看看 anon_write_enable选项,不知道你用什么版本
文件夹的权限和文件的权限是不同的
zy66289214 于 2007-07-26 16:27:48发表:
因为你装vsftp的时候,系统默认的创建了匿名用户的帐户是 /var/ftp ,如果你要把shangchuan做为根目录,我想也是可以的
蛐蛐 于 2007-07-26 12:42:22发表:
匿名用户不可以直接读写/var/ftp吗?那只让匿名用户把shangchuan作为自己的根目录改如何设置,不让知道 /var/ftp/shangchuan 。
zy66289214 于 2007-07-26 03:30:38发表:
匿名用户的目录是/var/ftp ,而这个目录不属于匿名用户
[root@zy root]#cd /var/ftp/
[root@zy ftp]#mkdir /var/ftp/shangchuan 创建一个新的目录
[root@zy ftp]#chmod g+w shangchuan/ 让组可写
[root@zy root]#chgrp ftp shangchuan/ 把目录交给组ftp
这样我们就可以用匿名用户创建目录了