From 089def08c58120f78df78c10027639802ad8f77d Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 3 Aug 2023 01:50:33 -0700 Subject: fix: :bug: chmod for linux as well as mac --- extension/src/activation/environmentSetup.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extension/src/activation/environmentSetup.ts') diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index db457bd2..b4ce9bff 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -201,6 +201,10 @@ export async function startContinuePythonServer() { ); console.log("stdout: ", stdout1); console.log("stderr: ", stderr1); + } else if (os.platform() === "linux") { + // Add necessary permissions + console.log("Setting permissions for Continue server..."); + fs.chmodSync(destination, 0o7_5_5); } // Validate that the file exists -- cgit v1.2.3-70-g09d2