Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with symbolic linking of files #3852

Closed
offhub opened this issue Apr 25, 2024 · 0 comments
Closed

Issue with symbolic linking of files #3852

offhub opened this issue Apr 25, 2024 · 0 comments
Labels
Confirmation pending Further confirmation is requested fixed in next build Fixed in the next Sandboxie version Symlinks Collection of symbolic links issues

Comments

@offhub
Copy link
Collaborator

offhub commented Apr 25, 2024

Describe what you noticed and did

  1. Save as bat then run as admin in the sandbox:
@echo off

set targetFile="ping.exe"
set dir="C:\Windows\system32"

cd /d "%dir%" & cls
echo.
mklink "LinkRelative-TargetRelative.exe" "%targetFile%"
"LinkRelative-TargetRelative.exe"
echo.
mklink "LinkRelative-TargetAbsolute.exe" "%dir%\%targetFile%"
"LinkRelative-TargetAbsolute.exe"
echo.
mklink "%dir%\LinkAbsolute-TargetAbsolute.exe" "%dir%\%targetFile%"
"LinkAbsolute-TargetAbsolute.exe"
echo.
mklink "%dir%\LinkAbsolute-TargetRelative.exe" "%targetFile%"
"LinkAbsolute-TargetRelative.exe
echo.
pause
  1. Symbolic links do not work and a folder named ping.exe is created in the sandbox.

How often did you encounter it so far?

Every time

Expected behavior

Symbolic links should work as they do outside the sandbox.

Affected program

Not relevant

Download link

Not relevant

Where is the program located?

The program is installed only 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?

Sandboxie-Plus 1.13.6a 64-bit

Is it a new installation of Sandboxie?

I recently did a new clean installation.

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?

Windows 11 Pro 23H2 64-bit (22631.3155)

In which Windows account you have this problem?

A local account (Administrator)., A Microsoft account (Administrator)., An account with UAC protection set to Always notify.

Please mention any installed security software

Microsoft Windows Defender

Did you previously enable some security policy settings outside Sandboxie?

No response

Trace log

No response

Sandboxie.ini configuration

[SymBox]

Enabled=y
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#02f6f6,ttl,6
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=10
UseFileDeleteV2=y
UseRegDeleteV2=y
AutoRecover=y
@offhub offhub added Confirmation pending Further confirmation is requested Symlinks Collection of symbolic links issues labels Apr 25, 2024
@DavidXanatos DavidXanatos added the fixed in next build Fixed in the next Sandboxie version label Apr 27, 2024
isaak654 referenced this issue Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmation pending Further confirmation is requested fixed in next build Fixed in the next Sandboxie version Symlinks Collection of symbolic links issues
Projects
None yet
Development

No branches or pull requests

2 participants