The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Today's Posts

 
Changing Account Pwd -- Cannot access my Database Thread Tools Search this Thread Display Modes
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.
 
My guess is that the folder itself still has the wrong permissions. Try this:
sudo chown -R $USER ~/Library/Caches/com.omnigroup.OmniFocus
Does that help? If not, please send the output of this command:
find ~/Library/Caches/com.omnigroup.OmniFocus -ls
Thanks for helping us track this down!

Last edited by Ken Case; 2007-12-22 at 05:01 PM..
 
Hi Ken -- Unfortunately I still get the same error. Here is the output:

Spring:~ lamp$ echo $USER
lamp
Spring:~ lamp$ sudo chown -R $USER ~/Library/Caches/com.omnigroup.OmniFocus/
Password:
Spring:~ lamp$ find ~/Library/Caches/com.omnigroup.OmniFocus/ -ls
12590685 0 drwxr-xr-x 3 lamp lamp 102 Dec 22 20:59 /Users/lamp/Library/Caches/com.omnigroup.OmniFocus/
12590728 0 -rw------- 1 root lamp 0 Dec 22 20:59 /Users/lamp/Library/Caches/com.omnigroup.OmniFocus//OmniFocusDatabase

Thanks.
 
I follow your instruction (checking if there is another instance of Omnifocus running grabing root access) on your other post to dnaunton, my output is very similiar to his, and still behaving the same. Pls reply to the other post.

Spring:~ lamp$ ps axuww -U root | grep OmniFocus
lamp 401 0.4 0.0 599740 372 s000 S+ 9:06PM 0:00.00 grep OmniFocus
Spring:~ lamp$ find ~/Library/Caches/com.omnigroup.OmniFocus/ -ls12590685 0 drwxr-xr-x 3 lamp lamp 102 Dec 22 20:59 /Users/lamp/Library/Caches/com.omnigroup.OmniFocus/
12590728 0 -rw------- 1 lamp lamp 0 Dec 22 20:59 /Users/lamp/Library/Caches/com.omnigroup.OmniFocus//OmniFocusDatabase
Spring:~ lamp$ sudo rm -i -r ~/Library/Caches/com.omnigroup.OmniFocus
Password:
examine files in directory /Users/lamp/Library/Caches/com.omnigroup.OmniFocus? y
remove /Users/lamp/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase? y
remove /Users/lamp/Library/Caches/com.omnigroup.OmniFocus? y

==> Restart OmniFocus, similiar error...
Spring:~ lamp$ find ~/Library/Caches/com.omnigroup.OmniFocus/ -ls
12590774 0 drwxr-xr-x 3 root lamp 102 Dec 22 21:08 /Users/lamp/Library/Caches/com.omnigroup.OmniFocus/
12590787 0 -rw------- 1 root lamp 0 Dec 22 21:08 /Users/lamp/Library/Caches/com.omnigroup.OmniFocus//OmniFocusDatabase
 
There's another thread on the forums about a recent OS X security update that monkeyed around with some people's permissions. Could this be another variant of the same thing?
 
Actually, there are now at lease three threads on this forum related to this topic.

http://forums.omnigroup.com/showthread.php?t=6495
http://forums.omnigroup.com/showthread.php?t=6379
http://forums.omnigroup.com/showthread.php?t=5777

I sure hope 10.5.2 fixes this.
 
Sorry for the long delay, I'm in Vienna for the holidays and haven't had much time to look into this.

Are you using FileVault, by chance? That's the only thing that I can think of off-hand that might update a bunch of files due to a password change. What is the output of this command?
df ~/Library/Caches
Also, what happens if you do the "sudo rm -i" command above, but then wait a few minutes without relaunching OmniFocus? Do the files owned by root show up again, or do they only show once you relaunch OmniFocus?

Here's a command you can run that will log a message every time any process directly accesses those files:
sudo fs_usage -w | grep com.omnigroup.OmniFocus
If you run that command, then follow the earlier post's instructions about removing the files and relaunching and running the find command, it might give us some additional hints. The log is probably a bit long for a forum post, though, so feel free to send it directly to omnifocus@omnigroup.com and carbon-copy me at kc@omnigroup.com.

Thanks again for helping us figure this out!
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete forum account dressedinvalue Forums Feedback 5 2012-10-26 01:47 PM
"database on your iPhone is incompatible with the sync database" error message kevinwest66 OmniFocus Syncing 36 2011-05-08 03:32 PM
2 users in the same mac account Eguiu OmniFocus 1 for Mac 18 2010-09-25 02:40 PM
Unable to access database decooke OmniFocus 1 for Mac 6 2008-08-08 12:33 PM
Cannot log into my Backpack account (SSL) alxwz OmniWeb Bug Reports 2 2007-04-08 04:40 AM


All times are GMT -8. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.