I am using vsftpd daemon for ftp server and configured the server for local users listed in /etc/vsftpd.users. Using filezilla for ftp client and I am getting "553: could not write file" error when I try to upload the file.
vsftpd.conf file is as follows:
background=YES
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
allow_writeable_chroot=YES
local_umask=022
local_root=/mnt/
userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd.allowed_users
chroot_local_user=YES
chown_uploads=YES
anon_other_write_enable=YES
check_shell=NO
dirmessage_enable=YES
#dirmessage_enable=YES
#ftpd_banner=Welcome to blah FTP service.
session_support=YES
syslog_enable=YES
#userlist_enable=YES
#userlist_deny=NO
#userlist_file=/etc/vsftpd.users
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
#xferlog_std_format=YES
###
### TLS/SSL options
### example key generation: openssl req -x509
#ssl_enable=YES
#allow_anon_ssl=NO
#force_local_data_ssl=NO
#force_local_logins_ssl=NO
#ssl_tlsv1=YES
#ssl_sslv2=NO
#ssl_sslv3=NO
#rsa_cert_file=/etc/config/vsftpd_cert.pem
#rsa_private_key_file=/etc/config/vsftpd_privkey.pem
Can anyone tell me , do I have to configure for ftp upload for local users?
Regards, Sowmya
/var/log/vsftpd.log, check if the user file-system permissions are correct and confirm you have configured your firewall correctly for the FTP. – HBruijn Jun 06 '15 at 12:37userlist*directives requires users to be listed in/etc/vsftpd.allowed_usersto be allowed FTP access, if I read things correctly. – HBruijn Jun 06 '15 at 12:43/etc/vsftpd.allowed_usersand the username you are connecting with, from your FileZilla. Let us also know what do you have under/mnt: an external USB flash disk? other? nothing? – Damiano Verzulli Jun 06 '15 at 12:46/var/log/vsftpd.logexists, as we're on an OpenWRT box and logging, here, is handled differently ( http://wiki.openwrt.org/doc/howto/log.essentials) with respect to common GNU/Linux systems – Damiano Verzulli Jun 06 '15 at 12:49xferlog_enable=YES&xferlog_file=/var/log/vsftpd.log... – HBruijn Jun 06 '15 at 12:50syslog_enable=yes), without considering the explicit configuration you mentioned. BTW: I wonder ifsyslog_enable=YESpreventsxferlog_enablebehaviour (syslog_enable — When enabled in conjunction with xferlog_enable, all logging normally written to the standard vsftpd log file specified in the vsftpd_log_file directive (/var/log/vsftpd.log by default) is sent to the system logger instead under the FTPD facility.) – Damiano Verzulli Jun 06 '15 at 12:55syslog_enable=yes, which makes me curious as to what takes precedence or if both occur. – HBruijn Jun 06 '15 at 13:00