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
[1.12.6] Symlink and open path issue #3537
Comments
this is not so easy to fix, as we need to be able to generate a valid copy path, |
please try the SbieDll.dll from the latest CI build it should fix the issue |
I've been using it for a while and haven't had any problems. |
Some browser add-ons do not seem to work properly. (with OpenFilePath) |
Is there anything to improve with the fix? |
The same problem occurs even without OpenFilePath. (without a drive letter)
sbie3537ff01.mp4 |
is the issue symlink related or a general firefox addon problem? |
Once the drive letter is assigned, it works properly. |
Probably not. I tried using the mounted folder directly as the profile path, without the symbolic link, and had the same problem.
Some extensions do not seem to work properly because the storage-sync-v2.sqlite(-shm|wal) database files cannot be accessed when the drive letter is not assigned. Two videos: |
please try the latest CI build: it should fix the issue: https://github.com/sandboxie-plus/Sandboxie/actions/runs/7467567960 |
I tried the latest CI (c9bd260) version on the virtual machine, it fixed the problem in Firefox. Now I've installed it on the host, I'll let you know if I run into any more problems. |
I think I've found a regression with this regarding symbolic links within Windows. It may be more directly related to #3181 although that ticket is closed and this one is still open. My testing is done on 1.12.3 vs 1.12.7. I had a fully working system on .3 which was broken by upgrading directly to .7 On 1.12.3, having a symbolic linked folder within a sandbox properly allows any apps run within that sandbox to access those files, even when they exist outside of the sandbox. After updating to 1.12.7, these same existing symbolic links now no longer provide file access to apps run within that sandbox. The apps report that no files can be found. I have confirmed that nothing else has changed. The symbolic links are accessible fine within the host OS. The issue is directly related to updating to 1.12.7 (or perhaps 1.12.6, which .7 is reported to fix) If I can do any testing or provide any logs, let me know. |
can you make a guide how to reproduce it so what to link where where to put which files and what where try to access which file, |
Apologies I may have erroneously attributed the issue to this ticket. After deeper testing, it seems that the regression occurs in 1.12.4. I believe this may be related to #3481 instead. I will update my findings over on that ticket. You can probably revert the status of this ticket. Thanks |
This problem (#3537 (comment)) reappeared after version 1.2.7. (path without a drive letter is used as a symlink target) Some plugins do not work properly because
|
please try the sbiedll from the latest ci build: https://github.com/sandboxie-plus/Sandboxie/actions/runs/7979739815 |
ps i'm not sure if this chaneg gig not break somethign else so please check other symlinc cases to be sure |
I have not encountered any problems in my testing. Windows 11 23H2 22631.3155
* |
Describe what you noticed and did
If a path without a drive letter is used as a symlink target and this path is defined as an open path, file access problems occur. (e.g. file duplication)
Firefox profile folder <=(symlink)=> Mounted VHD (no drive letter) and OpenFilePath will result in file duplication.
mklink /D "%AppData%\Mozilla\Firefox\Profiles" "C:\TestFolder\Profiles"
OpenFilePath=*\Profiles\*
sbie3537sym01.mp4
How often did you encounter it so far?
Every time
Affected program
msedge, firefox, etc.
Download link
https://www.mozilla.org/en-US/firefox/download/thanks/
Where is the program located?
The program is installed only outside the sandbox.
Expected behavior
Files in the open path must be accessible properly.
What is your Windows edition and version?
Windows 11 Pro 22H2 64-bit (22621.2861)
In which Windows account you have this problem?
A local account (Administrator).
Please mention any installed security software
Microsoft Windows Defender
What version of Sandboxie are you running?
Sandboxie-Plus 1.12.6 64-bit
Is it a new installation of Sandboxie?
I recently did a new clean installation.
Is it a regression?
Sandboxie-Plus 1.12.5 worked fine
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.
Did you previously enable some security policy settings outside Sandboxie?
No response
Crash dump
No response
Trace log
No response
Sandboxie.ini configuration
The text was updated successfully, but these errors were encountered: