Preview(610) deny file-write-create issue
I was reviewing a document in Preview (a PDF that I downloaded from the internet) and added annotations with notes and rectangles - frequently using cmd-S to save versions (I could see the older versions ising "Revert document..." After I closed and re-opened the document (and reverted to my home time zone (I did the work on a plane) all but my first edits were gone. In addition, I keep getting asked if I want to open a file downloaded from the Internet. Very odd. I went into Console and saw a series if items:
2/25/12 12:06:58.628 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-oaMVR0
2/25/12 12:07:29.047 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-C7m4lN
2/25/12 12:07:59.467 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-5n0NJe
2/25/12 12:08:29.914 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-saU9Th
2/25/12 12:09:00.355 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-OeeJNl
2/25/12 12:09:30.782 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-G67ylo
2/25/12 12:10:01.203 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-C2pDW5
2/25/12 12:10:31.642 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-ewnB2Q
2/25/12 12:11:02.066 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-KdQbPR
2/25/12 12:11:32.492 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-9madk1
2/25/12 12:12:02.928 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-5z8uop
2/25/12 12:12:33.356 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-tfmgi6
2/25/12 12:13:03.780 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-FbgwGV
2/25/12 12:13:34.201 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-ClcLCU
2/25/12 12:14:04.631 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-nYrhpk
Expanding one of them, I see this:
Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-Gfz2WE
Process: Preview [610]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Load Address: 0x107587000
Identifier: Preview
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [274]
Date/Time: 2012-02-25 10:14:34.657 -0800
OS Version: Mac OS X Server 10.7.3 (11D50)
Report Version: 7
Backtrace:
0 libsystem_kernel.dylib 0x00007fff8850aad2 __open + 10
1 CoreFoundation 0x00007fff86191b37 -[CFXPreferencesPropertyListSourceSynchronizer writePlistToDisk] + 343
2 CoreFoundation 0x00007fff8615a8e5 -[CFXPreferencesPropertyListSourceSynchronizer synchronizeAlreadyFlocked] + 613
3 CoreFoundation 0x00007fff8615a639 -[CFXPreferencesPropertyListSourceSynchronizer synchronize] + 441
4 CoreFoundation 0x00007fff8619886f __-[CFXPreferencesPropertyListSource synchronizeInBackgroundWithCompletionBlock:]_block_invoke_1 + 111
5 libdispatch.dylib 0x00007fff8c9fc8ba _dispatch_call_block_and_release + 18
6 libdispatch.dylib 0x00007fff8c9fe10a _dispatch_queue_drain + 264
7 libdispatch.dylib 0x00007fff8c9fdf66 _dispatch_queue_invoke + 54
8 libdispatch.dylib 0x00007fff8c9fd760 _dispatch_worker_thread2 + 198
9 libsystem_c.dylib 0x00007fff872273da _pthread_wqthread + 316
10 libsystem_c.dylib 0x00007fff87228b85 start_wqthread + 13
Binary Images:
0x7fff86111000 - 0x7fff862e5fff com.apple.CoreFoundation (6.7.1 - 635.19) <57B77925-9065-38C9-A05B-02F4F9ED007C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff871d7000 - 0x7fff872b4fef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib
0x7fff884f4000 - 0x7fff88514fff libsystem_kernel.dylib (1699.23.2 - compatibility 1.0.0) <55377210-60A0-3F33-9D45-B2D19AA91859> /usr/lib/system/libsystem_kernel.dylib
0x7fff8c9fb000 - 0x7fff8ca09fff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
Not sure what to do. Have started redoing 3 hours of work saving, closing and reopening. Still get the "Do you want to open a file downloaded from the Internet" but the recent work appears to be there. VERY UNNERVING that so much work could be lost.
I should also mention that my computer defaults to opening PDFs with Adobe Reader but for this one I used command-I to change the default application to Preview since it was so much better at annotating (or so I thought).
Any insight or suggestions? Just tried resetting permissions with Disk Utility and this time it did not ask if I wanted to open a downloaded file.
Paul