sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.66k stars 1.52k forks source link

The "git" version cannot be correctly identified in the sandbox #3630

Open Taeyeonzpx opened 7 months ago

Taeyeonzpx commented 7 months ago

Describe what you noticed and did

屏幕截图 2024-02-19 094022 屏幕截图 2024-02-19 094112 It can be recognized normally outside the sandbox and is used normally.

How often did you encounter it so far?

everytime

Expected behavior

It can be recognized normally outside the sandbox and is used normally..

Affected program

git

Download link

https://git-scm.com/

Where is the program located?

The program is installed both inside and outside the sandbox.

Did the program or any related process close unexpectedly?

No, not at all.

Crash dump

No response

What version of Sandboxie are you running now?

plus 1.12.9

Is it a new installation of Sandboxie?

I just updated Sandboxie from a previous version (I don't remember which one).

Is it a regression from previous versions?

No response

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on a new empty sandbox?

I can confirm it also on a new empty sandbox.

What is your Windows edition and version?

WINDOWS11 PRO 23H2 64BIT

In which Windows account you have this problem?

A local account (Standard user).

Please mention any installed security software

Huorong

Did you previously enable some security policy settings outside Sandboxie?

No response

Trace log

No response

Sandboxie.ini configuration

Enabled=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#02f6f6,on,6
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=10
BoxNameTitle=y
CopyLimitKb=-1
ClosedFilePath=<BlockNetDevices>,InternetAccessDevices
UseFileDeleteV2=y
UseRegDeleteV2=y
BlockNetParam=n
OpenWinClass=#
MsiInstallerExemptions=y
offhub commented 7 months ago

I was able to reproduce the problem in a standard box.

  1. Download and extract the files:
    https://download.jetbrains.com/idea/ideaIU-2023.3.4.win.zip
    https://github.com/git-for-windows/git/releases/download/v2.43.0.windows.1/PortableGit-2.43.0-64-bit.7z.exe
  2. Run as sandboxed (in a standard box)
    X:\ideaIU-2023.3.4.win\bin\idea64.exe
    • Confirm > Continue > Don't send > Start Free Trial
    • New Project > Create > Yes
    • Menu > File > Settings > Version Control > Git
    • Path to Git executable: X:\PortableGit-2.43.0-64-bit.7z\cmd\git.exe > Test

OR

  1. Run the following command in the sandboxed cmd.
    X:\ideaIU-2023.3.4.win\bin\runnerw.exe X:\PortableGit-2.43.0-64-bit.7z\cmd\git.exe version

[!NOTE] Version checking works in the Application Compartment sandbox.