Bugzilla – Attachment 3649 Details for
Bug 3518
Skip scp transfer over multiplexed connection if there's no scp on remote path as scp3 test did
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add scp's path to sshd's PATH
openssh-regress-scp-path.patch (text/plain), 786 bytes, created by
Darren Tucker
on 2023-01-13 15:18:10 AEDT
(
hide
)
Description:
Add scp's path to sshd's PATH
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2023-01-13 15:18:10 AEDT
Size:
786 bytes
patch
obsolete
>Index: test-exec.sh >=================================================================== >RCS file: /export/cvs/src/regress/usr.bin/ssh/test-exec.sh,v >retrieving revision 1.92 >diff -u -p -r1.92 test-exec.sh >--- test-exec.sh 25 Jul 2022 07:12:45 -0000 1.92 >+++ test-exec.sh 13 Jan 2023 04:14:58 -0000 >@@ -332,6 +332,13 @@ cat << EOF > $OBJ/sshd_config > Subsystem sftp $SFTPSERVER > EOF > >+# If we're testing a non-installed scp, we'll add its directory to sshd's >+# PATH. >+case "$SCP" in >+/*) PATH_WITH_SCP="`dirname $SCP`:$PATH" >+ echo " SetEnv PATH='$PATH_WITH_SCP'" >>$OBJ/sshd_config ;; >+esac >+ > # This may be necessary if /usr/src and/or /usr/obj are group-writable, > # but if you aren't careful with permissions then the unit tests could > # be abused to locally escalate privileges.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3518
:
3648
| 3649