CentOS 5 + vsftpd + upload = error
I must admit I'm fairly new to linux, but after reading lots of stuff online for the last few days, I still haven't been able to solve my problem and I'm asking for help.
I'm having a problem with uploading via ftp anonymously and/or with a user using CentOS 5. here is what I have... ##vsftpd.conf## anonymous_enable=YES write_enable=YES local_enable=YES anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES dirmessage_enable=YES dirlist_enable=YES no_anon_password=YES file_open_mode=0777 guest_enable=YES listen=yes listen_port=21 pam_service_name=vsftpd In the root, I have made two folders upload1 and upload2. I have set upload with chown to ftp user and ftp group and set upload 2 with chown to user john, and group ftp. I have chmod both folders with 777. When I log in as john, or anonymously, I can see and download files. But when I try to upload I get an upload not allowed message. or with winxp: an error occured copying a file to the Ftp Server. Make sure you have permission to put files on the server. Details: 200 switching to Binary mode 227 Entering passive mode (192,168,1,109,186,182) 553 Could not create file. ..help? |
can anyone help?
|
I'm experiencing the same frustrating problem...
I'm on brand new install of CentOS 5.1 with vsftpd v2.0.5 r10.el5 Here's my stuff... /etc/vsftpd/vsftpd.conf: Code:
write_enable=YES Here's my directory tree... /var Code:
total 164 Code:
total 24 Code:
[root]# ps -ef | grep ftp I'm trying to anonymously upload a new file to the folder "dropbox" and getting FTP 553 errors from both Linux and Windows IE ftp clients. I can download fine. |
:o Fixed my problem after making the post above.
Found answer here... http://forums.fedoraforum.org/showthread.php?p=945913 SELinux was interfering. Disabling SELinux in /etc/selinux/config fixed it. |
All times are GMT -5. The time now is 01:47 AM. |