I assume using `./*` rather than `.` in the `scp` command would have worked around the issue?
binaryturtle•1h ago
When I load the site in my (slightly older) Firefox I just get some random junk and gibberish (markov chain generated nonsense?)
<bleep> that nonsense!
roelschroeven•1h ago
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).
ranger_danger•40m ago
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.
crest•41m ago
It's nice to see people sharing their mistakes too.
sowbug•33m ago
Related: In my Bash logout script I have a chmod that fixes authorized_keys. It won't help with scp because that's non-interactive, but it has helped the other 999 times I've forgotten to clean up the mess I made during an ssh session.
procaryote•15m ago
This is a useful tip!
but also... who has a dir with 777 permissions? Is that something people do nowadays?
zahlman•3d ago