FTP Error: User not allow (code=553)

Questions about Cobian Reflector
User avatar
PeterPanda
Posts: 3
Joined: 01 Feb 2023, 11:16

FTP Error: User not allow (code=553)

Post by PeterPanda »

Hi Luis,

I use CR for daily and weekly backups to a NAS via FTP. After updating from version 2.3.2 to 2.3.6 I get the following error.

Code: Select all

    2023-01-31 11:06:10 Verbinden mit 192.168.99.21:21...
    2023-01-31 11:06:10 Verbunden mit 192.168.99.21:21.
    2023-01-31 11:06:10 Auf dem Remote-Server eingeloggt.
ERR 2023-01-31 11:06:10 Das Remote-Verzeichnis konnte nicht in "/dir_xyz" geändert werden: User not allow (code=553)
(the remote directory could not be changed to "/dir_xyz")

After downgrading to version 2.3.2 everything runs normally.

Best regards,

Peter
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: FTP Error: User not allow (code=553)

Post by cobian »

There have been a lot of changes in the FTP code as you can see in the changes log. Seems like this solved a lot of problems for some NAS FTPs but causes some other in other NAS FTPs. I wish everybody used SFTP instead.

What king of NAS or server are you using?
--
Luis Cobian
Cobian Backup's creator
User avatar
PeterPanda
Posts: 3
Joined: 01 Feb 2023, 11:16

Re: FTP Error: User not allow (code=553)

Post by PeterPanda »

Hi,

I am using a Western Digital My Cloud EX2 Ultra. It runs pure-ftpd version 1.0.47.

Setting up an SFTP server (with different users) doesn't seem to be that easy on this NAS.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: FTP Error: User not allow (code=553)

Post by cobian »

Pure-ftp I have tested without problems. Is /dir_xyz" a real absolute path or a path on the user's directory? If you try without the first / does it work then?
--
Luis Cobian
Cobian Backup's creator
mrice
Posts: 1
Joined: 02 Feb 2023, 16:27

Re: FTP Error: User not allow (code=553)

Post by mrice »

Hi,

I have the same problem.

My config:
print.png
print.png (31.05 KiB) Viewed 4187 times
print2.png
print2.png (11.28 KiB) Viewed 4187 times
User avatar
PeterPanda
Posts: 3
Joined: 01 Feb 2023, 11:16

Re: FTP Error: User not allow (code=553)

Post by PeterPanda »

The directory was created automatically by the NAS and in my case is "/mnt/HD/HD_a2/dir_xyz". If you log in via FTP, you will only see "dir_xyz".

I just tried it with FileZilla and WinSCP. Both can open the directory and perform file operations in it.

Unfortunately, there is no difference if I remove the "/".

I ran the test of settings in Cobian Reflector. Here is the result:

Code: Select all

FTP Test

Testen Sie Ihre FTP-Einstellungen...

Licence expiry date: 31.12.9999
Set LocalDirectory to D:\Download
Licence expiry date: 31.12.9999
waitOnShutdownSSL=True
StrictReturnCodes=False
Setting socket timeout=120000
SecureSocket timeout=120000
SecureSocket timeout=120000
Command encoding=System.Text.UTF8Encoding
Setting socket buffer sizes=-1
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 10 allowed.
220-Local time is now 16:18. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 10 minutes of inactivity.
SetSSLProtocol: min=DETECT, max=DETECT
---> AUTH TLS
234 AUTH TLS OK.
Starting handshake
ECDHE_RSA_AES_128_SHA
ECDHE_RSA_AES_256_SHA
RSA_AES_128_GCM_SHA256
RSA_AES_256_GCM_SHA384
DHE_RSA_AES_128_GCM_SHA256
DHE_RSA_AES_256_GCM_SHA384
ECDHE_RSA_AES_128_GCM_SHA256
ECDHE_RSA_AES_256_GCM_SHA384
DHE_RSA_AES_128_SHA
DHE_RSA_AES_128_SHA256
DHE_RSA_AES_256_SHA
DHE_RSA_AES_256_SHA256
DHE_RSA_AES_256_SHA256
RSA_AES_128_SHA
RSA_AES_128_SHA256
RSA_AES_256_SHA256
RSA_AES_256_SHA
ECDHE_RSA_3DES_SHA
DHE_RSA_3DES_SHA
RSA_3DES_168_SHA
DHE_RSA_DES_SHA
Handshake started
Waiting for handshake completion
Processing hello
ProcessMessages(Handshake)
Handshake Message: ServerHello
Using extended_master_secret
ProcessMessages(Handshake)
Handshake Message: Certificate
ProcessMessages(Handshake)
Handshake Message: ServerKeyExchange
ProcessMessages(Handshake)
Handshake Message: ServerHelloDone
ProcessMessages(ChangeCipherSpec)
ProcessMessages(Handshake)
Handshake Message: Finished
OnHandshakeComplete - waiting for lock
OnHandshakeComplete - in lock
OnHandshakeComplete - exiting lock
OnHandshakeComplete - exit
Synchronous handshake complete
---> PBSZ 0
WaitUntilCompleted(0, EndSend)
200 PBSZ=0
---> PROT P
WaitUntilCompleted(2, EndSend)
200 Data protection level set to "private"
---> USER someusername
WaitUntilCompleted(4, EndSend)
331 User someusername OK. Password required
---> PASS ********
WaitUntilCompleted(6, EndSend)
Wait begin: TransferBuffer.Read (timeout=120000)
Wait end: TransferBuffer.Read
230 OK. Current restricted directory is /
ChangeWorkingDirectory('.')
---> CWD .
WaitUntilCompleted(8, EndSend)
553 User not allow
Expected reply codes = [200,250] (strict=False)
ChangeWorkingDirectory error: User not allow (code=553)
Purging task queue
Defaulting to Unix parsing
---> QUIT
WaitUntilCompleted(10, EndSend)
OnReceive closing (size == 0)
CloseConnection(e=null)
Shut down socket
Closed socket
Notified active send result 10
Close() called when open
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
Dispose()
CloseConnection(e=null)
KeepAlive thread finished.
eltrovadormudo
Posts: 1
Joined: 10 Feb 2023, 18:17

Re: FTP Error: User not allow (code=553)

Post by eltrovadormudo »

At the moment working with Gravity verions and Reflector 2.3.2. Waiting one update that fixed the problem, señor Cobian :OK . Y como siempre magnifico trabajo.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: FTP Error: User not allow (code=553)

Post by cobian »

:OK
--
Luis Cobian
Cobian Backup's creator
pmazzocato
Posts: 1
Joined: 06 Mar 2023, 00:58

Re: FTP Error: User not allow (code=553)

Post by pmazzocato »

I have the same problem since the initial vs I just updated to 2.3.9 and the percisate error
Western Digital My Cloud EX2 Ultra.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: FTP Error: User not allow (code=553)

Post by cobian »

Sorry. Don't own such a NAS in order to test.
--
Luis Cobian
Cobian Backup's creator
Post Reply