VSFTPD 553 Could not create file error

Source: Internet
Author: User
Tags anonymous ftp root directory

Anonymous user

In the 1.vsftpd.conf file:

Write_enable=yes

Anon_mkdir_write_enable=yes

Anon_other_write_enable=yes

2.ftp Directory Permissions:

To view the FTP directory:

> CAT/ETC/PASSWD | grep FTP

Ftp:x:107:65534::/home/ftp:/bin/false

FTP Directory is/home/ftp

Chown root:root/home/ftp

Chmod-r 755/home/ftp

However, it is not possible to upload files. Because this is an anonymous user, the current directory owner is the root user; Really want to upload a file in this directory to create a folder as the name is upload,

Mkdir/home/ftp/upload

Chown Ftp:root/home/ftp/upload

This time you can pass files to the upload directory, but the root directory is still unable to upload files, this is an anonymous user, if it is not anonymous users there is no problem.

Reprinted from: http://www.linuxidc.com/Linux/2011-02/32174.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.