Amirhossein Akhlaghpour c130ca1bc6
Fix: dst error on cp command (#7895)
Fixes #7693 

On `cp` commands there were two error which pass error message with
invalid detail about source and destination files . there error were for
Not exist file and Permission denied .

Examples:
  Before :
Copy `source_file_valid` to `destination_invalid_dir` throw this error ;
`copy file "/source_file_valid" failed: No such file or directory (os
error 2) `

 After this PR it will throw this if destination will be invalid :
`copying to destination "/destination_invalid_dir" failed: No such file
or directory (os error 2) `

it was for Permission denied too .

---------

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2023-02-01 21:48:21 +01:00
..
2022-11-22 16:58:11 -08:00
2023-01-04 23:50:18 +01:00
2023-01-22 19:49:40 +01:00
2022-12-30 17:44:37 +02:00
2022-02-07 14:54:06 -05:00
2023-02-01 21:48:21 +01:00
2022-11-21 17:04:36 +01:00
2022-02-17 06:40:24 -05:00
2022-02-07 14:54:06 -05:00
2022-12-22 00:33:26 +02:00
2022-09-11 11:48:27 +03:00
2022-02-16 12:24:45 -06:00
2022-05-18 20:47:26 -05:00
2022-07-04 06:31:50 +12:00
2022-02-07 14:54:06 -05:00
2022-11-11 19:51:08 +13:00
2022-12-13 11:56:44 -05:00
2022-12-22 16:38:07 -08:00
2023-01-04 23:50:18 +01:00
2022-09-11 11:48:27 +03:00
2022-02-07 14:54:06 -05:00
2022-11-09 17:06:47 -08:00
2022-02-07 14:54:06 -05:00
2022-02-07 14:54:06 -05:00
2022-11-27 07:19:02 +13:00
2023-01-16 12:43:46 +01:00
2022-12-02 11:36:01 +01:00
2022-12-08 07:31:57 +13:00
2022-12-08 07:31:57 +13:00
2022-03-24 16:42:41 +13:00