Hello, when I edit a file from a remote connection and modify it, after saving it, a message appears that the file already exists and does not allow me to overwrite it.
Hi Samuele, what kind of remote connection are you using? Do you use the internal editor (F4 - default: Kate) or an external one?
Hi Davide, I'm using `code` as editor. You are right: if I use default editor (Kate) it works perfectly.
VSCode does not supports KIOslaves directly, if you edit a remote file opening it through the contextual menu (Open With) you'll get a local version of the file (in ~/.cache/kioexec/krun/ or similar). After you save the file you'll be asked to upload the newer file, hence the overwrite dialog. Can you upload/overwrite a remote file manually? It seems there are ownership issues.
Note: This is related to https://bugs.kde.org/show_bug.cgi?id=442217
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Hi Davide, I confirm that the remote file opened with VSCode is located in `~/.cache/kioexec/krun/...` and I can upload it manually. If I save it with VSCode instead, I have this message: "a file already exists with the name". But I confirm that using Kate it works perfecly.
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!