Resolve FLASHFXP Connection Virtual machine error 530 Permission denied

Source: Internet
Author: User

Rookie use FLASHFXP encountered connection error.

[21:36:19] [R] 530 Permission denied.
[21:36:19] [R] Connection failed (connection has been closed by client)

Search found that because the Linux settings root account is not allowed to connect, so we under the Linux settings, allow root connection (not recommended to do so, security considerations)

VSFTPD configuration, VSFTPD user Connection control configuration is limited in the configuration file.

Vsftpd.ftpusers: Located in the/ETC/VSFTPD directory. It specifies which user accounts cannot access the FTP server, such as root.

Vsftpd.user_list: Located in the/ETC/VSFTPD directory. The user account in this file cannot access the FTP server by default, only allow access if the USERLIST_ENABLE=NO option is enabled in the VSFTPD. conf configuration file.

Vsftpd.conf: Located in the/ETC/VSFTPD directory. From the configuration of FTP servers that define user Login control, user Rights control, timeout settings, server function options, server performance options, server response messages, and so on.

When I set it up, I commented out the root of fptusers and user_list so that the root account could be accessed. But if it is a formal environment, try not to do so, so the security will be much lower.

After doing so, still error.

[21:42:03] [R] oops:cannot Change directory:/root
[21:42:03] [R] Connection failed

I didn't turn on the port when I was in Setsebool.

1. View SELinux Status: Sestatus-b | grep FTP

2, in the results of the appearance can be seen:

Ftp_home_dir off
Allow_ftpd_full_access off
such as Now we just have to set them on.

3. Typing:

Setsebool-p Ftp_home_dir 1
Setsebool-p allow_ftpd_full_access 1

4. Restart Vsftpd:service vsftpd Restart

Log in again, log in successfully.

Resolve FLASHFXP Connection Virtual machine error 530 Permission denied

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.