OpenFilePath to non-default Firefox bookmark location

Please post your problem description here

Moderator: Barb@Invincea

Post Reply

OpenFilePath to non-default Firefox bookmark location

Post by rebecca » Fri Sep 14, 2007 3:10 am

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,%Local AppData%\Thunderbird
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!

Posts: 230
Joined: Sun Apr 22, 2007 1:30 am
Location: Pennsylvania

Post by dlguild » Fri Sep 14, 2007 3:53 am

Rebbeca, the OpenFilePath statement can be used with absolute path names. In your case, this should work for FireFox:


And for Thunderbird:


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. :)


Post by Guest » Fri Sep 14, 2007 2:45 pm

Thank you very much, Dan! That did the trick!

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests