[GH-ISSUE #2664] Sftp无法前往服务器根目录 #1737

Closed
opened 2026-02-27 00:04:39 +03:00 by kerem · 1 comment
Owner

Originally created by @black-zero358 on GitHub (Oct 15, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2664

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.23.15-win-x64-installer.exe

Platform detail (平台详情)

windows 10 64位

What steps will reproduce the bug?(重新问题的详细步骤)

image
进入sftp页面默认打开/root路径,在路径栏里输入"/"再回车便会报错

What should have happened?(期望的结果)

No such file
Error: No such file
at http://127.0.0.1:30974/js/electerm.js?1.23.15:2:1465616
at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.23.15:2:1415120)
at Worker. (http://127.0.0.1:30974/js/electerm.js?1.23.15:2:1416050)

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

但是如果在地址栏输入/usr之类的路径便可以访问根目录下的其他文件

Originally created by @black-zero358 on GitHub (Oct 15, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2664 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.23.15-win-x64-installer.exe ### Platform detail (平台详情) windows 10 64位 ### What steps will reproduce the bug?(重新问题的详细步骤) ![image](https://user-images.githubusercontent.com/53086059/195975123-9d8bdec5-52e7-4669-be17-303f7e3f7ff7.png) 进入sftp页面默认打开/root路径,在路径栏里输入"/"再回车便会报错 ### What should have happened?(期望的结果) No such file Error: No such file at http://127.0.0.1:30974/js/electerm.js?1.23.15:2:1465616 at Object.resolve (http://127.0.0.1:30974/js/electerm.js?1.23.15:2:1415120) at Worker.<anonymous> (http://127.0.0.1:30974/js/electerm.js?1.23.15:2:1416050) ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) 但是如果在地址栏输入/usr之类的路径便可以访问根目录下的其他文件
kerem closed this issue 2026-02-27 00:04:39 +03:00
Author
Owner

@zxdong262 commented on GitHub (Oct 15, 2022):

/root点击向上箭头可以到/吗?

<!-- gh-comment-id:1279716522 --> @zxdong262 commented on GitHub (Oct 15, 2022): 从`/root`点击向上箭头可以到`/`吗?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1737
No description provided.