Problem with OpenFilePath in 3.00.06

Please post your problem description here

Moderator: Barb@Invincea

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Problem with OpenFilePath in 3.00.06

Post by wraithdu » Fri Jul 27, 2007 8:18 pm

Just tried the new version, and some of my OpenFilePath settings are not working. They previously worked in .05.

This works -

OpenFilePath=firefox.exe,C:\Download
...C:\Download\*.*
...C:\Download\*.exe

This does not -

...C:\Download\
...C:\Download\*

By all accounts, all 4 of those should produce the same result. The latter 2, downloaded files are caught in the sandbox.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jul 29, 2007 10:25 am

Could not reproduce. C:\Download and C:\Download\ and C:\Download\* worked fine for me.
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Jul 29, 2007 2:06 pm

Ok, little more info. This is what's in my INI -

OpenFilePath=firefox.exe,C:\Download\
ForceProcess=firefox.exe (probably irrelevant)

I can't save files to the C:\Download\ directory. However I can save files to subdirectories under C:\Download\, like C:\Download\Sandboxie\. The same problem exists in .07 now too.

Paul_K
Posts: 477
Joined: Sun Mar 18, 2007 3:35 pm

Post by Paul_K » Sun Jul 29, 2007 3:35 pm

Did you recently force Firefox in your sandbox?
What happens without that force?
XP Pro SP3

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jul 29, 2007 6:00 pm

I tried again... With firefox.exe named in the OpenFilePath (and sometimes OpenPipePath), and without. Still works.
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Jul 29, 2007 6:42 pm

I'm not sure what other info I can give. I get the same results with or without ForceProcess, same results if I install Sandboxie locally or if I use my portable launcher. Same thing persists in .08. I even tried disabling RegDefend that was giving me issues earlier. It's just so weird that I can't save in C:\Download but I CAN save in C:\Download\<anything here>

EDIT - Just tried again with .05 and I get the same problem.

OpenFilePath=%Desktop% works ok
OpenFilePath=%SystemDrive%\Download\ does not

For now I'll stick with OpenFilePath=firefox.exe,C:\Download\*.* which seems to work just fine. Still don't understand it, but oh well.
Last edited by wraithdu on Sun Jul 29, 2007 6:52 pm, edited 1 time in total.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jul 29, 2007 6:49 pm

I was testing with a newly created Download directory, so you may want to give that a try, rename your existing Download, re-make it, and try to save something in it.

But make sure you rename the directory itself rather than move all of its contents. That would be important in case the problem is related to the security/permission settings of the Download folder itself.
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Jul 29, 2007 7:00 pm

I thought you were on to something, but no luck. I tried what you suggested as well as making an entirely new differently named directory, no luck.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jul 29, 2007 7:12 pm

EDIT - Just tried again with .05 and I get the same problem.
At least that makes sense, because I don't remember making any changes between .05 and .06 that should cause this.

Are you deleting your sandbox periodically?
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Jul 29, 2007 7:23 pm

Yep, I deleted it after each attempt/change made to the INI file. Also made sure to reload the config. Here's the whole thing in case it helps, but it's nothing exotic.

EDIT - removed big code box ;)
Last edited by wraithdu on Sun Jul 29, 2007 7:40 pm, edited 1 time in total.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jul 29, 2007 7:26 pm

Your INI looks fine. Try removing the Firefox.exe prefix and then create and rename files in C:\Download through a command prompt. See where the files are created.
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Jul 29, 2007 7:45 pm

Got some scary results with that. First I changed my INI to

OpenFilePath=C:\Download\

then emptied the sandbox and reloaded the INI. I opened a sandboxed instance of cmd.exe, went to the download directory, then renamed a file as such -

WinSpy17.zip -> WinSpy.zip

What resulted was WinSpy17.zip was deleted from my system and WinSpy.zip appeared inside the sandbox. I could then recover WinSpy.zip from the sandbox. If I changed to

OpenFilePath=C:\Download\*.*

then WinSpy17.zip was renamed correctly and remained in the C:\Download\ folder.

Paul_K
Posts: 477
Joined: Sun Mar 18, 2007 3:35 pm

Post by Paul_K » Sun Jul 29, 2007 8:13 pm

wraithdu: I've been following this thread, and can confirm that the following does not save my downloads to the un-sandboxed C:\FxDownloads folder, assuming that's what the OpenFilePath is supposed to do. It does save it in the sandboxed FxDownloads folder. (I also tried it with the Firefox.exe, prefix in the OpenFilePath line.

[TestBox]
Enabled=yes
CopyLimitKb=32768
OpenFilePath=c:\fxdownloads\

RecoverFolder=%Personal%

BlockDrivers=y
BlockFakeInput=y
BlockWinHooks=y

BoxNameTitle=y

Using 3.00.08 on Win XP Pro SP2.
RecoverFolder=C:\FxDownloads\ is what I normally use, instead of OpenFilePath - and it works.
XP Pro SP3

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Jul 29, 2007 8:32 pm

Thanks Paul_K, that's what I've been experiencing as well. And yes, that's what OpenFilePath is supposed to do.

Can you confirm that

OpenFilePath=firefox.exe,C:\fxdownloads\*.*

saves files to the un-sandoxed (ie, real) directory?

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Sun Jul 29, 2007 10:34 pm

Alright, im gonna try this and see if it happens with me too.......

*EDIT* I get the same results......... as tzuk. Everything works fine, i tried OpenFilePath=C:\Downloads and it worked fine, so did OpenFilePath=C:\Downloads\ and OpenFilePath=C:\Downloads\*, it also works fine if i specify the name of the browsers executable along with the path to open like this OpenFilePath=opera.exe,C:\Downloads, sorry guys, but i couldnt reproduce this either, btw i tried with .06 and .08
Windows 7 SP1 x64, Sandboxie v3.70 x64 with Experimental Protection, GnuPG, OTR (Off-The-Record), Sticky Password, My Brain.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest