553 error with vsftpd

Web VPS

I am scratching my head for hours trying to solve this.I can login in ftp just fine but i get the infamous 553 Could not create file. when i try to upload/create files.


Here is what i did


setsebool -P ftp_home_dir on


chown -R $ftp_user /var/www/$domain/public_html/www/


Here is my config


cat /etc/vsftpd/vsftpd.conf | grep -v ^#



anonymous_enable=NO


local_enable=YES


write_enable=YES


local_umask=022


dirmessage_enable=YES


xferlog_enable=YES


connect_from_port_20=YES


xferlog_std_format=YES


ascii_upload_enable=YES


ascii_download_enable=YES


ftpd_banner=Welcome to servergreek FTP service.


chroot_local_user=YES


listen=YES



cat /etc/passwd



$ftp_user:x:500:500::/var/www/$domain/public_html/www:/bin/bash



cat /var/log/xferlog



Sat Mar 15 07:34:33 2014 1 server_ip 0 /file_to_upload.txt b _ i r $ftp_user ftp 0 * i



I would be really thankful if someone could help me solve this





LowEndTalk http://ift.tt/1oWNV8x 553 error with vsftpd Web vps hosting server Linux - Windows webvps.blogspot.com

Related Posts :

Welcome Promo VPS