FTP 550 Error with Pure FTP

msklut

Well-Known Member
May 24, 2020
62
5
8
NC
cPanel Access Level
Root Administrator
We recently added virtual users to Pure FTP that are able to connect seamlessly to the server. However, now we are seeing 550 errors for 'real' FTP users (not virtual). Thoughts? The folder permissions are set to 0750 and user:nobody for public_html. Anything else we should look at?

FileZilla 550 error
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (IP_ADDRESS)
Command: MLSD
Response: 550 Can't check for file existence
Error: Failed to retrieve directory listing


These are the steps we followed to enable virtual users for Pure FTP.

Thank you for any suggestions!
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,307
2,239
363
cPanel Access Level
Root Administrator
Hey there! cPanel doesn't support that type of virtual user creation, so I can't say for sure if that is related to the problem or not. My recommendation would be removing those users and creating additional users through cPanel >> User Manager >> Add User, as that would grant additional FTP user access.

You'll also likely want to ensure that Passive Mode is properly configured in FTP and the server's firewall to ensure the port range is open:

 

msklut

Well-Known Member
May 24, 2020
62
5
8
NC
cPanel Access Level
Root Administrator
When I look at the status for Pure FTP, it shows the 'real' user logged in, but in FileZilla I still see a 550 Can't check for file existence error.

[~]# systemctl status pure-ftpd -l
Apr 19 16:17:37 server.mydomain.com pure-ftpd[22734]: ([email protected]) [INFO] New connection from 12.34.56.78
Apr 19 16:17:37 server.mydomain.com pure-ftpd[22734]: ([email protected]) [INFO] TLS: Enabled TLSv1/SSLv3 with ECDHE-RSA-AES256-GCM-SHA384, 256 secret bits cipher
Apr 19 16:17:37 server.mydomain.com pure-ftpd[22734]: ([email protected]) [INFO] admin_user is now logged in
 

msklut

Well-Known Member
May 24, 2020
62
5
8
NC
cPanel Access Level
Root Administrator
[~]# ls -l /home/admin_user/public_html
drwxr-x--- 19 admin_user nobody 4096 Apr 14 21:07 public_html


These are the target directory permissions. Anything look wrong here?
 

mtindor

Well-Known Member
Sep 14, 2004
1,463
114
193
inside a catfish
cPanel Access Level
Root Administrator
While we don't recommend using Filezilla, their team's official response for that error is the user not having permission to access the target directory. Details on that can be found here:

Kind of OT, but can you elaborate on why you don't recommend using Filezilla, Rex? It's like the most popular FTP program out there.

Mike
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
549
255
138
IN
cPanel Access Level
Root Administrator
Create users through cPanel >> User Manager >> Add User, as that would grant additional FTP user access and check if the issue persists.
I agree with @cPRex that directory permissions wouldn't be an issue, but it's how the virtual FTP users were created that is the problem.
 
  • Like
Reactions: cPRex