Bug: Remote navigation error when editing encrypted remote file in background (unsupported use-case)

Advertisement

some2lovewisp
Donor
Joined:
Posts:
14

Bug: Remote navigation error when editing encrypted remote file in background (unsupported use-case)

NOTE: This is an unsupported use-case, so I add this detailed bug report just for the benefit of the devs, in case this bug impacts other parts of their code base.

Steps to reproduce the bug:
1. Setup an SFTP connection with remote file encryption.
2. Open a remote text file with an external editor.
3. In the remote window, navigate down one folder, and then up another folder tree.
4. Create a new empty folder and enter it in the remote navigation panel.
5. Make any change in the remote file, and save.

The error "No such file" appears. The change is actually saved, but the error dialogue happens.

The steps above only create an error about 50% of the time, oddly. I tried turning off directory caching, but it still happens.

This is what I see in the log...
. 2022-01-21 10:22:22.029 Session upkeep
. 2022-01-21 10:22:22.029 [Background 1] Session upkeep
. 2022-01-21 10:22:22.546 Session upkeep
. 2022-01-21 10:22:22.546 [Background 1] Changing directory to "/mnt/tank/lib/scratch/ffeeewww".
. 2022-01-21 10:22:22.546 [Background 1] Getting real path for '/mnt/tank/lib/scratch/ffeeewww'
> 2022-01-21 10:22:22.546 [Background 1] Type: SSH_FXP_REALPATH, Size: 39, Number: 53520
. 2022-01-21 10:22:22.546 [Background 1] Sent 43 bytes
. 2022-01-21 10:22:22.546 [Background 1] There are 0 bytes remaining in the send buffer
. 2022-01-21 10:22:22.546 [Background 1] Read 4 bytes (24 pending)
. 2022-01-21 10:22:22.546 [Background 1] Read 24 bytes (0 pending)
< 2022-01-21 10:22:22.546 [Background 1] Type: SSH_FXP_STATUS, Size: 24, Number: 47620
. 2022-01-21 10:22:22.546 [Background 1] Discarding reserved response
. 2022-01-21 10:22:22.546 [Background 1] Waiting for another 4 bytes
. 2022-01-21 10:22:22.546 [Background 1] Detected network event
. 2022-01-21 10:22:22.546 [Background 1] Waiting for another 4 bytes
. 2022-01-21 10:22:22.546 [Background 1] Received 85 bytes
. 2022-01-21 10:22:22.546 [Background 1] Read 4 bytes (81 pending)
. 2022-01-21 10:22:22.546 [Background 1] Read 81 bytes (0 pending)
< 2022-01-21 10:22:22.546 [Background 1] Type: SSH_FXP_NAME, Size: 81, Number: 53520
. 2022-01-21 10:22:22.546 [Background 1] Real path is '/mnt/tank/lib/scratch/ffeeewww'
. 2022-01-21 10:22:22.546 [Background 1] Trying to open directory "/mnt/tank/lib/scratch/ffeeewww".
> 2022-01-21 10:22:22.546 [Background 1] Type: SSH_FXP_LSTAT, Size: 39, Number: 53767
. 2022-01-21 10:22:22.546 [Background 1] Sent 43 bytes
. 2022-01-21 10:22:22.546 [Background 1] There are 0 bytes remaining in the send buffer
. 2022-01-21 10:22:22.546 [Background 1] Waiting for another 4 bytes
. 2022-01-21 10:22:22.546 [Background 1] Detected network event
. 2022-01-21 10:22:22.546 [Background 1] Waiting for another 4 bytes
. 2022-01-21 10:22:22.546 [Background 1] Received 33 bytes
. 2022-01-21 10:22:22.546 [Background 1] Read 4 bytes (29 pending)
. 2022-01-21 10:22:22.546 [Background 1] Read 29 bytes (0 pending)
< 2022-01-21 10:22:22.546 [Background 1] Type: SSH_FXP_STATUS, Size: 29, Number: 53767
< 2022-01-21 10:22:22.546 [Background 1] Status code: 2, Message: 53767, Server: No such file, Language:  
* 2022-01-21 10:22:22.546 [Background 1] (ECommand) Error changing directory to '/mnt/tank/lib/scratch/ffeeewww'.
* 2022-01-21 10:22:22.546 [Background 1] No such file or directory.
* 2022-01-21 10:22:22.546 [Background 1] Error code: 2
* 2022-01-21 10:22:22.546 [Background 1] Error message from server: No such file
. 2022-01-21 10:22:23.053 Session upkeep
. 2022-01-21 10:22:23.555 Session upkeep
Hope this helps!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,415
Location:
Prague, Czechia

Re: Bug: Remote navigation error when editing encrypted remote file in background (unsupported use-case)

Thanks for your report.

Reply with quote

Advertisement

You can post new topics in this forum