From 7cb3cbc624a995111445258a2742a28832f934de Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sun, 14 Dec 2014 08:41:22 -0500 Subject: [PATCH] use S_IWUSR (0200) instead of S_IWRITE (S_IWRITE isn't documented, i guess it is historical) --- dropbear/scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropbear/scp.c b/dropbear/scp.c index 11c9665..2d88162 100644 --- a/dropbear/scp.c +++ b/dropbear/scp.c @@ -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;