We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f926252 commit 5d41e86Copy full SHA for 5d41e86
src/ES.SFTP.Host/Orchestrator.cs
@@ -416,7 +416,7 @@ await ProcessUtil.QuickRun("chown",
416
authKeysBuilder.AppendLine(await File.ReadAllTextAsync(file));
417
await File.WriteAllTextAsync(sshAuthKeysPath, authKeysBuilder.ToString());
418
await ProcessUtil.QuickRun("chown", $"{user.Username} {sshAuthKeysPath}");
419
- await ProcessUtil.QuickRun("chmod", $"600 {sshAuthKeysPath}");
+ await ProcessUtil.QuickRun("chmod", $"400 {sshAuthKeysPath}");
420
}
421
422
0 commit comments