[GH-ISSUE #481] Link to not existing file blocks 'files manager' files listing #273

Closed
opened 2026-02-26 23:59:00 +03:00 by kerem · 2 comments
Owner

Originally created by @JSkalskiSBG on GitHub (May 25, 2018).
Original GitHub issue: https://github.com/electerm/electerm/issues/481

In my main directory (/home/jskalski/) I got link:

jskalski@jskalski-pc ~ $ ls -lah | grep steampath
lrwxrwxrwx  1 jskalski jskalski   33 maj 25 07:08 .steampath -> /home/jskalski/.steam/sdk32/steam

Target file /home/jskalski/.steam/sdk32/steam does not exist.

When I try to browse that directory with 'file manager' it only shows error:

Error: ENOENT: no such file or directory, stat '/home/jskalski//.steampath' 
at o.once.e (http://localhost:3000/js/essh.bundle.js?0.21.7-c7e4639644a2590959131a53b4e82138073129b1:1:86306) 
at WebSocket.n (http://localhost:3000/js/essh.bundle.js?0.21.7-c7e4639644a2590959131a53b4e82138073129b1:1:117969)

and does not update files listing window.

Originally created by @JSkalskiSBG on GitHub (May 25, 2018). Original GitHub issue: https://github.com/electerm/electerm/issues/481 In my main directory (/home/jskalski/) I got link: jskalski@jskalski-pc ~ $ ls -lah | grep steampath lrwxrwxrwx 1 jskalski jskalski 33 maj 25 07:08 .steampath -> /home/jskalski/.steam/sdk32/steam Target file **/home/jskalski/.steam/sdk32/steam** does not exist. When I try to browse that directory with 'file manager' it only shows error: ``` Error: ENOENT: no such file or directory, stat '/home/jskalski//.steampath' at o.once.e (http://localhost:3000/js/essh.bundle.js?0.21.7-c7e4639644a2590959131a53b4e82138073129b1:1:86306) at WebSocket.n (http://localhost:3000/js/essh.bundle.js?0.21.7-c7e4639644a2590959131a53b4e82138073129b1:1:117969) ``` and does not update files listing window.
kerem 2026-02-26 23:59:00 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@JSkalskiSBG commented on GitHub (May 25, 2018):

I did not test link-loops, but in 'follow file system links' code should be some check for link-loops.
Especially in 'copy directory' module (transfer to remote/local).
If link points to parent directory of any listed 'files to copy' it should ignore that link.

<!-- gh-comment-id:391980357 --> @JSkalskiSBG commented on GitHub (May 25, 2018): I did not test link-loops, but in 'follow file system links' code should be some check for link-loops. Especially in 'copy directory' module (transfer to remote/local). If link points to parent directory of any listed 'files to copy' it should ignore that link.
Author
Owner

@zxdong262 commented on GitHub (May 25, 2018):

@JSkalskiSBG thank you.feedback really helps. and new version released with fixes https://github.com/electerm/electerm/releases/tag/v0.21.13

<!-- gh-comment-id:391987931 --> @zxdong262 commented on GitHub (May 25, 2018): @JSkalskiSBG thank you.feedback really helps. and new version released with fixes https://github.com/electerm/electerm/releases/tag/v0.21.13
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#273
No description provided.