Commit 1f308fb2 authored by Matt Johnston's avatar Matt Johnston
Browse files

S_IWUSR rather than S_IWRITE for scp

parent e2d36d49
......@@ -992,7 +992,7 @@ sink(int argc, char **argv)
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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment