Bug 442216 - Saving a file edited in a remote directory
Summary: Saving a file edited in a remote directory
Status: RESOLVED WORKSFORME
Alias: None
Product: krusader
Classification: Applications
Component: net-connection (other bugs)
Version First Reported In: 2.7.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-09 10:33 UTC by Samuele Masetto
Modified: 2021-11-16 04:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuele Masetto 2021-09-09 10:33:05 UTC
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.
Comment 1 Davide Gianforte 2021-09-21 05:53:28 UTC
Hi Samuele, what kind of remote connection are you using? Do you use the internal editor (F4 - default: Kate) or an external one?
Comment 2 Samuele Masetto 2021-09-21 06:15:57 UTC
Hi Davide,
I'm using `code` as editor. You are right: if I use default editor (Kate) it works perfectly.
Comment 3 Davide Gianforte 2021-09-22 05:53:32 UTC
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.
Comment 4 Toni Asensi Esteve 2021-10-02 17:18:20 UTC
Note: This is related to https://bugs.kde.org/show_bug.cgi?id=442217
Comment 5 Bug Janitor Service 2021-10-17 04:35:15 UTC
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!
Comment 6 Samuele Masetto 2021-10-17 07:46:47 UTC
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.
Comment 7 Bug Janitor Service 2021-11-01 04:35:04 UTC
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!
Comment 8 Bug Janitor Service 2021-11-16 04:39:13 UTC
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!