# HG changeset patch # User Matt Johnston # Date 1446650578 -28800 # Node ID 0a1891e23b180364ce58b0dcc1d21182e3291224 # Parent cdea5dbb17550f1e3ffa63d796a4a6bb7280961a S_IWUSR rather than S_IWRITE for scp diff -r cdea5dbb1755 -r 0a1891e23b18 scp.c --- a/scp.c Wed Oct 28 21:44:16 2015 +0800 +++ b/scp.c Wed Nov 04 23:22:58 2015 +0800 @@ -992,7 +992,7 @@ continue; } omode = mode; - mode |= S_IWRITE; + mode |= S_IWUSR; if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) < 0) { bad: run_err("%s: %s", np, strerror(errno)); continue;