VsftpdAfter a year, I found a VSFTPD error and reported an error. I searched the internet for an explanation.
In addition, the error message is: 500 OOPS: vsftpd: refusing to run with writable anonymous root.
Cause: vsftpd does not allow "dangerous (Insecure)" configurations. The cause of this error is that the owner of the ftp home directory and Its subdirectories and the corresponding permission settings are incorrect.
That is: anon_root =/var/ftp: FTP's home
The owner of the home directory should not be an ftp user, and the ftp user cannot have the write permission. The solution is:
Chown root ~ Ftp; chmod-w ~ Ftp
For example, set anon_root =/var/ftp in the configuration file
Achieve the following results:
/Var/ftp is like this:
Ls-ld ftp
Drwxr-xr-x 4 root 4096 12 21 ftp # The owner and group are both root. The default value is permission755, with the write permission removed.
[Root @ ftp] # ls-l
Drwxrwxr-x 2 ftp 4096 12 21 incoming # The owner and group of sub-directories are ftp, and the permission is related to the purpose of the directory. Because you want to write the content.
Drwxr-xr-x 2 root ftp 4096 12 21 pub # The owner of the read-only directory here is the root group of ftp, and the default is permission755, removing the write permission.
After reading the above, how have you solved this error? Why can't you leave a message for me!
- Six major vsFTPd cainiao prawns
- Vsftpd. conf Glossary
- Vsftpd dummies configuration process
- Vsftpd Installation Process
- Speed limit and limit link points for common vsFTPd Functions
- Common vsFTPd functions: Setting virtual paths and viewing log information
- Custom welcome information for common vsFTPd Functions