mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Merge branch 'feat/shared-ssh' of github.com:lorenzomigliorero/dokploy into feat/shared-ssh
This commit is contained in:
commit
9cf4a5e7a3
@ -34,17 +34,7 @@ export const setupDirectories = () => {
|
||||
try {
|
||||
createDirectoryIfNotExist(dir);
|
||||
if (dir === SSH_PATH) {
|
||||
/* Changing SSH Keys permission to 600 keeping the SSH folder writable */
|
||||
spawnSync("find", [
|
||||
SSH_PATH,
|
||||
"-type",
|
||||
"f",
|
||||
"-exec",
|
||||
"chmod",
|
||||
"600",
|
||||
"{}",
|
||||
";",
|
||||
]);
|
||||
chmodSync(SSH_PATH, "700");
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error, " On path: ", dir);
|
||||
|
Loading…
Reference in New Issue
Block a user