A big problem when deleting wrong directory

Advertisement

wienciu
Guest

A big problem when deleting wrong directory

I have created a directory on the server with a leading space in the name. After clicking "delete" the following command was executed:
rm -R /home/www/temporary/ 33082019-A
This caused that all the contents of the parent directory were removed.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,744
Location:
Prague, Czechia

Re: A big problem when deleting wrong directory

Can you reproduce the problem? What version of WinSCP?
Testing the same scenario (assuming SCP protocol), WinSCP executed rm -f -r " 33082019-A", as expected.

Reply with quote

Advertisement

You can post new topics in this forum