2

I have an isolated system environment running RHEL 8.5 with VSCode 1.67 installed. I am getting an error when running the command # code from the cli that reads: /usr/bin/code: Line 53: /usr/share/code/bin/../code: Operation not permited

Line 53 reads: ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"

the two lines above read: ELECTRON="$VCODE_PATH/code" CLI="$VCODE_PATH/resources/app/out/cli.js"

in the scipt VSCODE_Path="/usr/share/code" the permissions for the file code are: -rwxrwxr-x. 1 root root 1925 may 6 12:58 code

I have tried searching for a solution and have been unable to figure out what needs to be fix. Since this is an isolated environment that is locked down, been chasing my tail trying to figure if it's a user permission error or chmod setting that needs to be changed. If anyone has run across this some advice would be appreciated.

Dkirk
  • 21
  • 1

0 Answers0