You are not logged in.

#1 2008-05-28 12:30:25

radoscak
Member
Registered: 2008-05-07
Posts: 20

Help to set up vsftpd.conf

Please could you help me to set vsftpd.
My vsftpd.conf:

listen=YES
listen_port=21
background=YES
anonymous_enable=YES
local_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
virtual_use_local_privs=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
connect_from_port_20=YES
chown_username=r-c
ftpd_banner= FTP Server
secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
anon_root=/media/WD1TB
local_umask=777

I  connect to server using total commander like a client ftp, it writes this:

500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/var/run/vsftpd pam_service_name=vsftpd

Could you help me I want to be that disk /dev/WD1TB browseable and readable for anonymous and writable, readable, browseable for root and users I create(e.g john)
                                                        and I want to make folder public in that disk /dev/WD1TB/public to be readable, writable, browseable to all users include anonymous

Last edited by radoscak (2008-05-28 12:32:36)

Offline

#2 2008-05-29 00:09:41

elide
Member
From: Russia
Registered: 2007-12-02
Posts: 40

Re: Help to set up vsftpd.conf

just split

secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd

into two lines, like

secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd

Offline

Board footer

Powered by FluxBB