diff --git a/src/tools/remote-test-server/src/main.rs b/src/tools/remote-test-server/src/main.rs index 9112985e140a7..e7eff35e55725 100644 --- a/src/tools/remote-test-server/src/main.rs +++ b/src/tools/remote-test-server/src/main.rs @@ -289,7 +289,7 @@ fn recv(dir: &Path, io: &mut B) -> PathBuf { #[cfg(not(windows))] fn set_permissions(path: &Path) { - t!(fs::set_permissions(&dst, Permissions::from_mode(0o755))); + t!(fs::set_permissions(&path, Permissions::from_mode(0o755))); } #[cfg(windows)] fn set_permissions(_path: &Path) {}