Trust No Program
Reply to topic
OpenFilePath to non-default Firefox bookmark location
rebecca
Guest

Reply with quote
I'm having trouble saving bookmarks when running Firefox in Sandboxie.

My Firefox profile is saved in D:\Mozilla\Firefox\profiles\Rebecca
rather than in the default location C:\Documents and Settings\Rebecca\Application Data\Mozilla\Firefox\Profiles

I've done the following:

Sandboxie Control>Configuration>Sandbox settings>set file copy options>
ticked “Allow Mozilla TB full access to mailbox files. (Recommended)”
ticked “Allow FF full access to the bookmarks file. (Recommended)”

My Sandboxie.ini now contains the following entries:

OpenFilePath=thunderbird.exe,%AppData%\Thunderbird
OpenFilePath=thunderbird.exe,%Local AppData%\Thunderbird
OpenFilePath=firefox.exe,%AppData%\Mozilla\Firefox\Profiles\*\bookmark*
OpenKeyPath=thunderbird.exe,HKEY_CURRENT_USER\Software\Mozilla Thunderbird
OpenKeyPath=thunderbird.exe,HKEY_LOCAL_MACHINE\Software\Mozilla Thunderbird
OpenKeyPath=thunderbird.exe,HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla Thunderbird
OpenKeyPath=firefox.exe,HKEY_CURRENT_USER\Software\Mozilla Firefox
OpenKeyPath=firefox.exe,HKEY_LOCAL_MACHINE\Software\Mozilla Firefox
OpenKeyPath=firefox.exe,HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla Firefox

I think line 3 is the only one I need to edit for my bookmarks, but I don't know how to do it. I tried changing the %AppData% to D:\ but that didn't work, and I don't have a clue what else to try.
Can anyone help?

Also, my TB profile is saved in D:\Mozilla\Thunderbird\profiles\Rebecca, instead of in the default
C:\Documents and Settings\Thunderbird\Profiles

I'm not sure yet how Sandboxie will apply to Thunderbird - I'm still trying to figure it out in Firefox! - but if anyone can tell me in advance how I should edit lines 1 and 2 to reflect the change in profile location there, I would greatly appreciate it!

Thanks a lot!
dlguild


Joined: 22 Apr 2007
Posts: 230
Location: Pennsylvania
Reply with quote
Rebbeca, the OpenFilePath statement can be used with absolute path names. In your case, this should work for FireFox:

OpenFilePath=firefox.exe,D:\Mozilla\Firefox\profiles\Rebecca

And for Thunderbird:

OpenFilePath=thunderbird.exe,D:\Mozilla\Thunderbird\profiles\Rebecca

The variables wrapped with % are just shortcuts that Sandboxie expands to the absolute path. For example in your case, %AppData% gets expanded to "C:\Documents and Settings\Rebecca\Application Data". Since you are storing the profile in the non-default location, this of course didn't work.

Hope this helps. Smile

_________________
Dan
View user's profileSend private message
Guest


Reply with quote
Thank you very much, Dan! That did the trick!
OpenFilePath to non-default Firefox bookmark location
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 Reply to topic  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,480,760 times since June 2004