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

Delete content not working for Sandboxes with custom path when it's parent folder is a disk drive. #139

Closed
henrikx opened this issue Sep 17, 2020 · 5 comments
Labels
Status: Fixed in Next Build Fixed in the next Sandboxie version

Comments

@henrikx
Copy link

henrikx commented Sep 17, 2020

I have created a Sandbox with a custom path:

[test2]
Enabled=y
ConfigLevel=7
AutoRecover=n
BlockNetworkFiles=n
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,ttl
FileRootPath=F:\test2

however, when I try to delete it's contents in Sandman I get the message "Could not move the Sandbox folder out of the way Can't open destination folder". Meanwhile SbieCtrl can delete the same sandbox just fine. It also marks the sandbox status as "Net Share" which is incorrect as F:\ is a local drive on my computer.

@Coverlin
Copy link

I have created a Sandbox with a custom path:

[test2]
Enabled=y
ConfigLevel=7
AutoRecover=n
BlockNetworkFiles=n
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,ttl
FileRootPath=F:\test2

however, when I try to delete it's contents in Sandman I get the message "Could not move the Sandbox folder out of the way Can't open destination folder". Meanwhile SbieCtrl can delete the same sandbox just fine. It also marks the sandbox status as "Net Share" which is incorrect as F:\ is a local drive on my computer.

not what that means but to switch "Net Share" status off :
In sandman : right click the box -> sandbox presets and uncheck "allow network shares"
or right click the box -> sandbox options -> other restrictions and check the "block network files and folders......."
In sbiectrl : right click the box -> sandbox settings -> restrictions -> network files and check the "block network files and folders......."
Editing the config : add/change BlockNetworkFiles=y to the sandbox

custom fileroothpath for a sandbox other than the global container, sandman deletes the box for me

@henrikx
Copy link
Author

henrikx commented Sep 17, 2020

Ah, disregard the part about net share then.

Still can not get it to remove the box though.
image

@DavidXanatos
Copy link
Member

I think the issue is that the parent of the box is a drive directly, i will test that scenario and fix it.

@DavidXanatos DavidXanatos added the Type: Bug Something isn't working label Sep 18, 2020
@henrikx
Copy link
Author

henrikx commented Sep 18, 2020

@DavidXanatos Can confirm. Everything works when sandbox is in a subfolder.

@henrikx henrikx changed the title Delete content not working for Sandboxes with custom path Delete content not working for Sandboxes with custom path when it's parent folder is a disk drive. Sep 18, 2020
@DavidXanatos DavidXanatos added Status: Fixed in Next Build Fixed in the next Sandboxie version and removed Type: Bug Something isn't working labels Oct 31, 2020
@DavidXanatos
Copy link
Member

the issue will be fixed in the next build 0.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Fixed in Next Build Fixed in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests

3 participants