logoalt Hacker News

roelschroeventoday at 4:49 PM1 replyview on HN

tl;dr: I you scp -r to your homedir, expect scp to copy not just files and directories but their permissions as well (which I think isn't all that surprising).


Replies

ranger_dangertoday at 5:28 PM

It's not supposed to do that unless it's newly creating the destination, or you supplied the -p flag to preserve permissions... that's what the entire issue is about; it's a bug that was fixed in 10.3.

show 1 reply