waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: Can't save in editor on remote connections

Open FreezyEx opened this issue 10 months ago • 5 comments

Current Behavior

Neither the "save" green button, nor Alt-S / Ctrl-S save the edited file.

Expected Behavior

It should save the edited file using the "save" button or Ctrl-S

Steps To Reproduce

  1. start a remote connection
  2. edit a file using wsh edit fileName
  3. try to save the file
  4. if you close and re-open the file the file is not updated.

Wave Version

v0.11.0

Platform

Windows

OS Version/Distribution

No response

Architecture

x64

Anything else?

No response

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

FreezyEx avatar Jan 30 '25 13:01 FreezyEx

What are the permissions on the file?

esimkowitz avatar Jan 31 '25 02:01 esimkowitz

What are the permissions on the file?

-rw-r--r-- 1 root root

FreezyEx avatar Jan 31 '25 08:01 FreezyEx

If the file is owned by root that could be a problem. What user are you connecting with?

esimkowitz avatar Jan 31 '25 17:01 esimkowitz

If the file is owned by root that could be a problem. What user are you connecting with?

I am using root user

FreezyEx avatar Jan 31 '25 19:01 FreezyEx

This won't fix your problem, but we're adding better error messages into the editor, so at least we'll be able to show the actual reason why the write failed (and not fail silently).

sawka avatar Feb 20 '25 00:02 sawka