listen=YES # CAREFUL, this sets the valid visiting port listen_port=2121 connect_from_port_20=YES write_enable=YES # anonymous_enable=YES anon_upload_enable=YES anon_mkdir_write_enable=YES #只能在具有全部权限的目录下建立 # local_enable=YES # Make local user login into the same directory local_root=/var/ftp #使用本地用户登陆到目标目录,而不是他的HOME目录 local_umask=022 # xferlog_enable=YES xferlog_file=/var/log/vsftpd.log #指定LOG的位置,必须与上一项一同使用
# dirmessage_enable=YES message_file=.message one_process_model=NO # # When enabled, anonymous users will only be allowed to download files which are world readable. # anon_world_readable_only=NO # max_clients=5 max_per_ip=5