OSDN Git Service
(root)
/
android-x86
/
external-openssh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow root login if ro.debuggable is set (userdebug and eng builds)
[android-x86/external-openssh.git]
/
sftp-client.c
diff --git
a/sftp-client.c
b/sftp-client.c
index
caa384b
..
211abc0
100644
(file)
--- a/
sftp-client.c
+++ b/
sftp-client.c
@@
-1048,7
+1048,7
@@
do_download(struct sftp_conn *conn, char *remote_path, char *local_path,
}
local_fd = open(local_path, O_WRONLY | O_CREAT | O_TRUNC,
- mode | S_IW
RITE
);
+ mode | S_IW
USR
);
if (local_fd == -1) {
error("Couldn't open local file \"%s\" for writing: %s",
local_path, strerror(errno));