I executed the ownership change, but I still have the same error...
"The file could not be opened because you do not have appropriate access privileges.
To view or change access privileges, select the item in Finder and choose File > Get Info." (endless loop)
Spring:~ lamp$ cd ~/Library/Caches/com.omnigroup.OmniFocus/
Spring:com.omnigroup.OmniFocus lamp$ sudo chown -Rv lamp *
Password:
OmniFocusDatabase
Spring:com.omnigroup.OmniFocus lamp$ ls -l
total 80
-rw-r--r-- 1 lamp lamp 38912 Dec 20 15:23 Cache.db
-rw------- 1 lamp lamp 0 Dec 20 15:23 OmniFocusDatabase
Spring:com.omnigroup.OmniFocus lamp$ ls -ln
total 80
-rw-r--r-- 1 501 501 38912 Dec 20 15:23 Cache.db
-rw------- 1 501 501 0 Dec 20 15:23 OmniFocusDatabase
This is the Console Log message. Note regarding the missing metadata, it maybe because I removed everything in the ~/Library/Caches during cleanup, but did backup the metadata file; when I restore the ~/Library/Caches/Metadata, error still occurs:
12/20/07 3:22:51 PM GrowlHelperApp[212] Auto-discovered registration ticket in OmniFocus (located at /Applications/OmniFocus.app)
12/20/07 3:22:52 PM OmniFocus[1429] Need to rebuild CoreData cache for '/Users/lamp/Library/Application Support/OmniFocus/OmniFocus.ofocus'.
12/20/07 3:22:52 PM OmniFocus[1429] Actual cache metadata is (null)
12/20/07 3:22:52 PM OmniFocus[1429] Expected cache metadata is {
"app_version" = "68.0.96298";
"core_data_version" = 185;
"included_transaction_hash" = <4628557d 9c3e20c7 da3a17a4 4768f511 e8b7d29c>;
"os_version" = "10.5.1";
"root_transaction" = "8463969D-FA50-41A3-BDED-74FD45A9D09A";
"tail_transaction" = "ADB6D63A-327E-48C9-A562-361A5C50E810";
}
12/20/07 3:22:52 PM OmniFocus[1429] Presenting modal error: Error Domain=NSCocoaErrorDomain Code=257 UserInfo=0x1585f0b0 "The file could not be opened because you do not have appropriate access privileges." {
NSUnderlyingException = Error validating url for store;
}
12/20/07 3:22:56 PM OmniFocus[1429] Unable to add persistent store for cache at file://localhost/Users/lamp/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase -- need to rebuild it.
"The file could not be opened because you do not have appropriate access privileges.
To view or change access privileges, select the item in Finder and choose File > Get Info." (endless loop)
Spring:~ lamp$ cd ~/Library/Caches/com.omnigroup.OmniFocus/
Spring:com.omnigroup.OmniFocus lamp$ sudo chown -Rv lamp *
Password:
OmniFocusDatabase
Spring:com.omnigroup.OmniFocus lamp$ ls -l
total 80
-rw-r--r-- 1 lamp lamp 38912 Dec 20 15:23 Cache.db
-rw------- 1 lamp lamp 0 Dec 20 15:23 OmniFocusDatabase
Spring:com.omnigroup.OmniFocus lamp$ ls -ln
total 80
-rw-r--r-- 1 501 501 38912 Dec 20 15:23 Cache.db
-rw------- 1 501 501 0 Dec 20 15:23 OmniFocusDatabase
This is the Console Log message. Note regarding the missing metadata, it maybe because I removed everything in the ~/Library/Caches during cleanup, but did backup the metadata file; when I restore the ~/Library/Caches/Metadata, error still occurs:
12/20/07 3:22:51 PM GrowlHelperApp[212] Auto-discovered registration ticket in OmniFocus (located at /Applications/OmniFocus.app)
12/20/07 3:22:52 PM OmniFocus[1429] Need to rebuild CoreData cache for '/Users/lamp/Library/Application Support/OmniFocus/OmniFocus.ofocus'.
12/20/07 3:22:52 PM OmniFocus[1429] Actual cache metadata is (null)
12/20/07 3:22:52 PM OmniFocus[1429] Expected cache metadata is {
"app_version" = "68.0.96298";
"core_data_version" = 185;
"included_transaction_hash" = <4628557d 9c3e20c7 da3a17a4 4768f511 e8b7d29c>;
"os_version" = "10.5.1";
"root_transaction" = "8463969D-FA50-41A3-BDED-74FD45A9D09A";
"tail_transaction" = "ADB6D63A-327E-48C9-A562-361A5C50E810";
}
12/20/07 3:22:52 PM OmniFocus[1429] Presenting modal error: Error Domain=NSCocoaErrorDomain Code=257 UserInfo=0x1585f0b0 "The file could not be opened because you do not have appropriate access privileges." {
NSUnderlyingException = Error validating url for store;
}
12/20/07 3:22:56 PM OmniFocus[1429] Unable to add persistent store for cache at file://localhost/Users/lamp/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase -- need to rebuild it.