Small fixes [stage]

This commit is contained in:
crschnick
2025-11-15 18:54:50 +00:00
parent 7334444c19
commit 5d0e989dab
2 changed files with 3 additions and 3 deletions
@@ -96,11 +96,11 @@ public class InPlaceKeyStrategy implements SshIdentityStrategy {
parent.view().touch(file);
if (parent.getOsType() != OsType.WINDOWS) {
parent.command(CommandBuilder.of().add("chmod", "600").addFile(file));
parent.command(CommandBuilder.of().add("chmod", "600").addFile(file)).execute();
}
parent.view().writeTextFile(file, key.getSecretValue());
if (parent.getOsType() != OsType.WINDOWS) {
parent.command(CommandBuilder.of().add("chmod", "400").addFile(file));
parent.command(CommandBuilder.of().add("chmod", "400").addFile(file)).execute();
}
LocalFileTracker.deleteOnExit(file.asLocalPath());
+1 -1
View File
@@ -1 +1 @@
19.0-26
19.0-27