image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 10th, 2008, 10:34 AM
Registered User
 
Join Date: Jul 2005
Posts: 832
Thanks: 0
Thanked 1 Time in 1 Post
simbalala is on a distinguished road
"You are opening XXX.app for the first time"

I’m running 10.4.11 and we know the launch services database has its problems. When I (or you) use the contextual menu item to choose which app to open a file with you’ll often see duplicates. The solution is to rebuild the launch services database.

I dislike the warnings that pop up after this telling me “I’m opening an application for the first time and do I want to continue?”.

So I looked in the prefs folder for finder and launch services and examined those prefs files for a switch I could flip to turn off this warning. So far I’ve not found it.

Does anyone know where this exists or if there’s a terminal command with which I could install the pref (if it exists)?
Reply With Quote
  #2  
Old May 10th, 2008, 11:01 AM
Registered User
 
Join Date: Jul 2005
Posts: 832
Thanks: 0
Thanked 1 Time in 1 Post
simbalala is on a distinguished road
I found this but it seems a little extreme:

Quote:
This is it! I downloaded and installed Firefox from my admin account, but never launched it. I'd get that dialog every time I tried to launch it from the user account. Based upon your post, I ran Firefox once from the admin account and now the user account opens it without the warning. Thanks,

I couldn't do that because I had deleted the user that had downloaded and installed it.

But I opened terminal, and did the following
cd /Applications/
sudo chown root MyApp.app
[type your password]

The problem was that the owner was someone else.
There's more in this thread at the MacOSHints forum.

And this one.

There should just be a switch, I'm not sure I want to declare all my apps to be owned by root.
Reply With Quote
  #3  
Old May 10th, 2008, 11:29 AM
Registered User
 
Join Date: Jul 2005
Posts: 832
Thanks: 0
Thanked 1 Time in 1 Post
simbalala is on a distinguished road
OK, I’ve got this thread all to myself.

Further explanation is needed. When I download an app I’m not sure I want to keep or maybe a beta version of one which exists in my /Applications folder I put it in my user Applications folder (~/Applications). For example I run the WebKit Nightlies and I keep WebKit in ~/Applications.

So after thinking about the solution in the thread I linked above I checked the ownership of the contents in both the /Applications and the ~/Applications folders. In ~/Applications the file group owner was me and in /Applications the group was wheel.

So I recursively changed the group owner on my ~/Applications folder to wheel and rebuilt the Launch Services Database.

Ta Da! No more warnings. To me this means I can rebuild the Launch Services Database as often as I wish and not have to put up with those annoying warnings. Of course I’ll have to change group to wheel on any new additions to ~/Applications but I can live with that.

Update:

Since I’ve changed the group owner to wheel on the ~/Applications folder itself any new apps copied into the folder inherit the folder’s group owner so I have less hassle to deal with.

I also did a “Verify Permissions” using Disk Utility and it doesn’t seem to care that I changed the group owner on ~/Applications, no error.

Last edited by simbalala; May 10th, 2008 at 12:31 PM. Reason: Update
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:41 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.