Files
teleport/lib
Jakub Nyckowski a8a244a517 SCP - Change file attrs only when requested (#22579)
* SCP -Change file attrs only when requested

OpenSSH sets 0644 by default and allows copy the source permissions by passing `-p` flag.
Our current implementation sets the file permissions even when client didn't use `-p` flag which can fail if the user doesn't have permissions to set it. This patch matches the OpenSSH behavior.

* Fix formatting
2023-03-03 19:12:52 +00:00
..
2023-03-01 22:18:43 +00:00
2023-03-01 22:18:43 +00:00
2022-10-28 20:20:28 +00:00
…
2023-02-08 17:21:11 +00:00
2022-10-28 20:20:28 +00:00
2022-11-04 15:46:46 +00:00
2022-10-28 20:20:28 +00:00
2022-10-28 20:20:28 +00:00
2022-11-01 12:15:10 +00:00
2022-10-28 20:20:28 +00:00
2022-10-28 20:20:28 +00:00