diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-11-04 23:22:58 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-11-04 23:22:58 +0800 |
commit | 1f308fb2b42066d9bd8292d3a05a6340451adb3c (patch) | |
tree | fe06a7b9d39ac8670aa1b72d4c036db346df6029 /scp.c | |
parent | e2d36d493f894ae411c49e13174f6f1e979d3dea (diff) |
S_IWUSR rather than S_IWRITE for scp
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |