Linux ftp Server SETUP supports reading and writing anonymous

Source: Internet
Author: User
Linux ftp server construction supports reading and writing anonymous-general Linux technology-Linux technology and application information. The following is a detailed description. Linux ftp server construction supports reading and writing anonymous (Author: Li Yangming)

1. Configure the/etc/vsftpd. conf file as follows:

Open the file and change the following options. If this option is not available in the file, you need to manually write this option.

Write_enable = YES
Anonymous_enable = YES
Anon_other_write_enable = YES
Anon_mkdir_write_enable = YES
Anon_upload_enable = YES

2. The above configuration only completes the ftp of vsftp. conf to allow the upload of anonymous. You also need to set the folder for the corresponding ftp upload:

[Root @ test root] # mkdir-p/var/ftp/upload (1. Create a folder for reading and writing)
[Root @ test root] # chown ftp/var/ftp/upload (2. Folder holder attributes)
/Upload? Lifecycle lifecycle 777 (3. Set the read/write attributes. You can right-click the attribute button to perform the operation)

3. Restart the command:
[Root @ test root] # service vsftpd restart

After completing the above three steps, the ftp Anonymous user can upload and download files!

[ This post was last edited by lym54533442]
Related Article

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.