vsftpd: "530 permission denied" with any username

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

vsftpd: "530 permission denied" with any username

Post by ^rooker »

[PROBLEM]
vsftpd would refuse login with *any* username, giving the error message:
530: permission denied
[SOLUTION]
The problem was, that the userlist option can either be used for denying access, or allowing access to all usernames listed in the "userlist_file" (usually "/etc/vsftpd_users").

In my case, the permission denied was caused by the following entry:
userlist_deny=NO
The default is "userlist_deny=YES", so uncommenting the above line solved my problem.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

vsftpd: "550 permission denied" regardless of file permissio

Post by ^rooker »

[PROBLEM]
I was able to login to vsftp, browse the folders, but could not create any file or folder, because I always got the errormessage:
550 Permission denied.
[SOLUTION]
By default, the "write_enable" option is commented out in "/etc/vsftpd.conf". Enable it to look like this:

Code: Select all

# Uncomment this to enable any form of FTP write command.
write_enable=YES
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply