Specify a filename as an exclusion in Immediate Recovery
Specify a filename as an exclusion in Immediate Recovery
I've recently noticed that whenever I attach a picture from the My Documents/My Pictures folder, to an email message, the sandboxed Thunderbird puts a 'thumbs.db' Windows thumbnail file in the sandboxed My Documents/My Pictures/... folder.
Even though I have Immediate Recovery turned-on, and the My Documents folder is set as a Quick Recovery folder, the appearance of this hidden/system file in the sandbox folder does not immediately trigger Immediate Recovery (not that I would necessarily want it to, in this case).
When I quit Thunderbird, Auto Delete runs and the thumbs.db file is found. Quick Recovery checks to see if I want to Recover it. Of course, I do not.
I know how to turn off the creation of all Windows thumbs.db files if I want to. I could also add ".db" to the Ignore list for Immediate Recovery, and that works - though that will ignore all ".db" files whatever the filename.
So, it's just an annoyance, but I was wondering if the ignore list for Immediate Recovery could include a specific filename, such as 'thumbs.db', in addition to ignoring by file type or folder. Or, maybe something isn't working as planned in Sandboxie v3.26.
Even though I have Immediate Recovery turned-on, and the My Documents folder is set as a Quick Recovery folder, the appearance of this hidden/system file in the sandbox folder does not immediately trigger Immediate Recovery (not that I would necessarily want it to, in this case).
When I quit Thunderbird, Auto Delete runs and the thumbs.db file is found. Quick Recovery checks to see if I want to Recover it. Of course, I do not.
I know how to turn off the creation of all Windows thumbs.db files if I want to. I could also add ".db" to the Ignore list for Immediate Recovery, and that works - though that will ignore all ".db" files whatever the filename.
So, it's just an annoyance, but I was wondering if the ignore list for Immediate Recovery could include a specific filename, such as 'thumbs.db', in addition to ignoring by file type or folder. Or, maybe something isn't working as planned in Sandboxie v3.26.
-
- Posts: 2690
- Joined: Tue Dec 26, 2006 5:44 pm
- Location: West Florida
I dont really have anything to add to this, I just wanted to say nice idea and I second this!
I ran into a similar problem a little while ago with a couple particular files that kept triggering my Immediate Recovery and I couldn't do anything about it other then exclude the extensions those files were using, but then it would've excluded alot of the files that I want to trigger my Immediate Recovery (for example, one of them was an exe file and another was a jpg file).
I ran into a similar problem a little while ago with a couple particular files that kept triggering my Immediate Recovery and I couldn't do anything about it other then exclude the extensions those files were using, but then it would've excluded alot of the files that I want to trigger my Immediate Recovery (for example, one of them was an exe file and another was a jpg file).
Here's a little secret. You're not really adding an extension or a folder, in fact you are adding something that will be looked at as either a prefix of a suffix of the file/path that is a candidate for Immediate Recovery.
In other words, if the contents of that list box match either the start of the path, or the end of the path, then the path (or file) are not sent to Immediate Recovery.
So if "Add Type" .db and then edit the configuration and change that to thumbs.db, it should work as you expect.
But I will make a revision in Sandboxie Control, that if you type an entry that already includes a dot (for example thumbs.db), then it will not automatically insert a leading dot. That could be one of those "little known features" like clicking the "Edit" button on an unselected row to invoke the "Add" input box.
In other words, if the contents of that list box match either the start of the path, or the end of the path, then the path (or file) are not sent to Immediate Recovery.
So if "Add Type" .db and then edit the configuration and change that to thumbs.db, it should work as you expect.
But I will make a revision in Sandboxie Control, that if you type an entry that already includes a dot (for example thumbs.db), then it will not automatically insert a leading dot. That could be one of those "little known features" like clicking the "Edit" button on an unselected row to invoke the "Add" input box.
tzuk
Well, my hopes were high but it didn't work for me. I used Sandboxie's GUI:
Sandbox Settings | Recovery | Immediate Recovery | "Add Type" button | db | OK | OK
Then Configure | Edit Configuration
Changed "AutoRecoverIgnore=.db" to read "AutoRecoverIgnore=thumbs.db"
File | Save | File | Exit (even tried Reload configuration, on the second try)
Have line " AutoRecoverIgnore=thumbs.db" in configuration and verified that "thumbs.db" shows in the GUI box.
thumbs.db is still not ignored. Quick recovery pops-up. I thought maybe case was important, so I also tried "Thumbs.db" which is how Windows names it - no change.
The file attributes are: archive/hidden/system, if that matters.
Sandbox Settings | Recovery | Immediate Recovery | "Add Type" button | db | OK | OK
Then Configure | Edit Configuration
Changed "AutoRecoverIgnore=.db" to read "AutoRecoverIgnore=thumbs.db"
File | Save | File | Exit (even tried Reload configuration, on the second try)
Have line " AutoRecoverIgnore=thumbs.db" in configuration and verified that "thumbs.db" shows in the GUI box.
thumbs.db is still not ignored. Quick recovery pops-up. I thought maybe case was important, so I also tried "Thumbs.db" which is how Windows names it - no change.
The file attributes are: archive/hidden/system, if that matters.
Well, I'm not sure why it doesn't work for me. As I understand it, Windows creates a thumbs.db file in each folder that contains graphic files, and the file contains thumbnail preview images for use in Explorer (if you select that view, which I do not).tzuk wrote:You did not mention that you restarted the program that creates the Thumbs.db file (probably Windows Explorer) to refresh the configuration already recorded in it. So maybe there's your problem. I'm saying this because I tested it and for me it does work as I described.
I restarted Windows, verified that the SB configuration showed "AutoRecoverIgnore=Thumbs.db"; ran a sandboxed Thunderbird, clicked on "Write" and attached a picture file from My Documents/My Pictures/(sub-folder)/...
I exited the message without saving and shut-down Thunderbird. Auto Delete activated.
Quick Recovery prompted to Recover Thumbs.db.
I'm using Win XP and SB v3.26, not the test version 3.26.05. Windows "Folder Options" | View | "Do not cache thumbnails" is unchecked, which I believe is default, meaning that thumbs.db files will automatically be created by Windows.
Guess I'll have to think about this for a while.
-
- Posts: 2690
- Joined: Tue Dec 26, 2006 5:44 pm
- Location: West Florida
Amazing... It works!tzuk wrote:Here's a little secret. You're not really adding an extension or a folder, in fact you are adding something that will be looked at as either a prefix of a suffix of the file/path that is a candidate for Immediate Recovery.
In other words, if the contents of that list box match either the start of the path, or the end of the path, then the path (or file) are not sent to Immediate Recovery.
So if "Add Type" .db and then edit the configuration and change that to thumbs.db, it should work as you expect.
But I will make a revision in Sandboxie Control, that if you type an entry that already includes a dot (for example thumbs.db), then it will not automatically insert a leading dot. That could be one of those "little known features" like clicking the "Edit" button on an unselected row to invoke the "Add" input box.
Wow, I feel stupid now for never had trying that out in the first place...
But it is working, so thats all that matters.
After shutting down my computer for a few hours, when I tried Thunderbird I had the same problem with thumbs.db being offered for Quick Recovery. After disabling all Thunderbird Add-ons, I was not getting that Quick Recovery prompt.
I re-enabled all of the TB extensions one at a time, and I still did not get any Quick Recovery prompt for that file. After that, the thumbs.db file wasn't even showing up in the sandbox folder, for a while - nor did the sandbox folder show a My Documents or My Pictures folder either, after I attached a picture from the unsandboxed My Documents folder - apparently because thumbs.db was no longer showing up in the sandbox. I didn't see it there when I looked with Explorer.
So I didn't actually do anything, but for a while I didn't get that prompt from Quick Recovery when the sandbox was deleted.
Very confusing, because it was doing that for days.
I edited this entire message: After using TB for a while, the thumbs.db file started showing-up again in Quick Recovery. For a short while, it wasn't. Definitely confusing.
And I now understand what tzuk said: that adding the thumbs.db entry, as in the previous messages, doesn't apply to Quick Recovery but to Immediate Recovery.
Thanks for accepting the request for a revision in Control.
I re-enabled all of the TB extensions one at a time, and I still did not get any Quick Recovery prompt for that file. After that, the thumbs.db file wasn't even showing up in the sandbox folder, for a while - nor did the sandbox folder show a My Documents or My Pictures folder either, after I attached a picture from the unsandboxed My Documents folder - apparently because thumbs.db was no longer showing up in the sandbox. I didn't see it there when I looked with Explorer.
So I didn't actually do anything, but for a while I didn't get that prompt from Quick Recovery when the sandbox was deleted.
Very confusing, because it was doing that for days.
I edited this entire message: After using TB for a while, the thumbs.db file started showing-up again in Quick Recovery. For a short while, it wasn't. Definitely confusing.
And I now understand what tzuk said: that adding the thumbs.db entry, as in the previous messages, doesn't apply to Quick Recovery but to Immediate Recovery.
Thanks for accepting the request for a revision in Control.
-
- Posts: 205
- Joined: Mon Apr 05, 2010 8:40 am
Permanent exclusion from any recovery
This is in reference to this thread about thumbs.db. Still cannot find a way to exclude this from any recovery whatsoever. Thanks.
I guess that I no longer see this, since my original report, because I no longer have 'thumbs.db' files created.
I always use "Details" view in Windows Explorer, instead of "Thumbnails" view, so I set all folders to use that option.
For me, that's what I prefer anyway.
I always use "Details" view in Windows Explorer, instead of "Thumbnails" view, so I set all folders to use that option.
For me, that's what I prefer anyway.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
-
- Posts: 205
- Joined: Mon Apr 05, 2010 8:40 am
Who is online
Users browsing this forum: No registered users and 1 guest