[Bug 2105] ssh-copy-id leads to rm -f * (local vs. dash)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu May 16 06:42:33 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2105

--- Comment #1 from Colin Watson <cjwatson at debian.org> ---
Cyril continues:

OK, trying locally, adding "echo" before the two "rm" (see both lines
with "trap"), and moving ~/.ssh away, I'm getting a mktemp failure,
and "echo rm" prints all the files which would be otherwise deleted.

Running ssh-copy-id from the wrong machine can lead to such an ENOENT
issue; running with the wrong user, or with wrong permissions
(e.g. after a reinstall/restoration from a backup), EPERM is another
likely cause.

Sorry for jumping to the wrong cause, but the conclusion stands.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list