Click and drag to move files and folders, placed them in wrong locations

Advertisement

Freitag
Freitag avatar
Joined:
Posts:
80

Click and drag to move files and folders, placed them in wrong locations

I am upgrading my wiki

I have a directory tree ending in /wiki
I have the new wiki version untar in another tree /foo/mediawiki-1.43.1

In the Explorer interface I grab the contents of /foo/mediawiki-1.43.1 (all files and folders)
and I drag them into /wiki in the left hand panel.

This should move all the files from one to the other.
I have done this in the dev and test environments already with complete success earlier this week. Today though things got very strange – folders got oddly "nested"

/foo/mediawiki-1.43.1/docs
was moved into /wiki/docs/docs

/foo/mediawiki-1.43.1/maintenance
was moved into /wiki/maintenance/maintenance

every folder got copied into a doubled up name like that

I had some other strange things happen, so I'm not 100% this was a problem in WinSCP, it might have been a problem on the hosting service (Dreamhost).

They are running
uname -a
Linux iad1-shared-b8-02 5.15.86-grsec-bnxt-focal+ #1 SMP Wed Oct 11 22:07:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I reset from backups and tried again and it all worked.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,011
Location:
Prague, Czechia

Re: Click and drag to move files and folders, placed them in wrong locations

Thanks for your report.
So can you reproduce the problem or not?

Reply with quote

Freitag
Freitag avatar
Joined:
Posts:
80

I've not tried to duplicate it, but I found the log file that includes the event.

At line 6157 the problem has already happened. I do not know why 6153 does not have the same problem.

On 6153 it shows I actually made two mistakes. This is a mv command and what I had intended was a cp, but I forgot to hit the modifier key on the click and drag. (This is a result of working while tired, so the steps to cause the problem might not ever happen under "normal" circumstances. Some programming tasks I do at any time of day, but major upgrades I like to be awake and well caffeinated.)

It happened with several folders, but the docs folder is the one I first noticed it on.

Reply with quote

Freitag
Freitag avatar

I've done this same upgrade on another site recently and no weird things happened (copy did what I expected of it) and I'll be doing it again on another site I help maintain next week.

I'm paying attention this time to see if anything happens. It may have been some weird one-off situation.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

I could not identify any problem. If you manage to reproduce it, please let me know. Take some screenshots and collect a log (ideally for a smallest set of files/folders possible).

Reply with quote

Advertisement

You can post new topics in this forum