mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 01:37:10 +08:00
* 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