Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
1f308fb2
Commit
1f308fb2
authored
Nov 04, 2015
by
Matt Johnston
Browse files
S_IWUSR rather than S_IWRITE for scp
parent
e2d36d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
scp.c
View file @
1f308fb2
...
...
@@ -992,7 +992,7 @@ sink(int argc, char **argv)
continue
;
}
omode
=
mode
;
mode
|=
S_IW
RITE
;
mode
|=
S_IW
USR
;
if
((
ofd
=
open
(
np
,
O_WRONLY
|
O_CREAT
,
mode
))
<
0
)
{
bad:
run_err
(
"%s: %s"
,
np
,
strerror
(
errno
));
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment