Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 23, 2013, 05:38 AM   #1
harrybaker
macrumors newbie
 
Join Date: Dec 2009
Application warnings

For the last few weeks I have been getting a warning "You are opening an application for the first time...do you want to open?" every time I open a Microsoft office app for the first time each day. It is irritating. Can I do something to stop this? I have tried a couple of things such as deleting

/library/caches/com.apple.LaunchServices-0140501 csstore

or running

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -all local,system,user

in Terminal (both suggested before) but to no avail
harrybaker is offline   0 Reply With Quote
Old Jan 23, 2013, 06:35 AM   #2
LPZ
macrumors 65816
 
Join Date: Jul 2006
Quote:
Originally Posted by harrybaker View Post
For the last few weeks I have been getting a warning "You are opening an application for the first time...do you want to open?" every time I open a Microsoft office app for the first time each day. It is irritating. Can I do something to stop this? I have tried a couple of things such as deleting

/library/caches/com.apple.LaunchServices-0140501 csstore

or running

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -all local,system,user

in Terminal (both suggested before) but to no avail
Please open Terminal and paste in the following:

Code:
ls -@l /Applications/Microsoft*
Please post the entire output of the command.
LPZ is offline   0 Reply With Quote
Old Jan 23, 2013, 06:45 AM   #3
harrybaker
Thread Starter
macrumors newbie
 
Join Date: Dec 2009
total 344
drwxrwxr-x 6 502 admin 204 12 Aug 2008 Additional Tools
-rwxrwxr-x@ 1 502 admin 0 3 Dec 2007 Icon?
com.apple.FinderInfo 32
com.apple.ResourceFork 126312
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Entourage.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Excel.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Messenger.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft PowerPoint.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Word.app
com.apple.FinderInfo 32
drwxrwxr-x 67 502 admin 2278 12 Aug 2008 Office
-rwxrwxr-x@ 1 502 admin 1197 3 Dec 2007 Read Me.html
com.apple.FinderInfo 32
com.apple.ResourceFork 45044
harry-bakers-imac:~ harrybaker$
harrybaker is offline   0 Reply With Quote
Old Jan 23, 2013, 08:03 AM   #4
LPZ
macrumors 65816
 
Join Date: Jul 2006
Quote:
Originally Posted by harrybaker View Post
total 344
drwxrwxr-x 6 502 admin 204 12 Aug 2008 Additional Tools
-rwxrwxr-x@ 1 502 admin 0 3 Dec 2007 Icon?
com.apple.FinderInfo 32
com.apple.ResourceFork 126312
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Entourage.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Excel.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Messenger.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft PowerPoint.app
com.apple.FinderInfo 32
drwxrwxr-x@ 3 502 admin 102 12 Aug 2008 Microsoft Word.app
com.apple.FinderInfo 32
drwxrwxr-x 67 502 admin 2278 12 Aug 2008 Office
-rwxrwxr-x@ 1 502 admin 1197 3 Dec 2007 Read Me.html
com.apple.FinderInfo 32
com.apple.ResourceFork 45044
harry-bakers-imac:~ harrybaker$
One thing I see is that these applications are owned by user 502. They should be owned by root. Seems like these were installed improperly.

It's easy to change the ownership of the applications. But I want to be clear about where exactly the apps are. To this end, would you please paste the following into Terminal and post the output:

Code:
cd /Applications; ls -l
LPZ is offline   0 Reply With Quote
Old Jan 23, 2013, 08:20 AM   #5
harrybaker
Thread Starter
macrumors newbie
 
Join Date: Dec 2009
These apps were installed when I bought the iMac some years ago and have worked perfectly. As I said, the warning notices have only started recently. Here is the output you requested. Thanks for the help.


total 512
drwxr-xr-x 3 root wheel 102 6 Apr 2011 Address Book.app
drwxrwxr-x@ 8 root admin 272 19 Aug 2008 Adobe Bridge CS3
drwxrwxr-x@ 4 root admin 136 19 Aug 2008 Adobe Help Viewer 1.1.app
drwxrwxrwx@ 12 root admin 408 5 Jul 2010 Adobe Photoshop Elements 6
drwxrwxr-x@ 5 root admin 170 8 Nov 2011 Adobe Stock Photos CS3
drwxr-xr-x 3 root wheel 102 21 Sep 09:29 App Store.app
drwxr-xr-x 3 root wheel 102 16 Nov 2010 Automator.app
drwx------ 3 harrybaker admin 102 3 Dec 2010 BookSmart.app
drwxr-xr-x 3 root wheel 102 18 Jun 2010 Calculator.app
drwxr-xr-x 3 root wheel 102 19 May 2009 Chess.app
drwxr-xr-x 3 root wheel 102 16 Nov 2010 DVD Player.app
drwxr-xr-x 3 root wheel 102 25 Jun 2011 Dashboard.app
drwxr-xr-x 3 root wheel 102 6 Apr 2011 Dictionary.app
drwxr-xr-x 3 harrybaker staff 102 1 Jul 2009 FileZilla.app
drwxr-xr-x@ 4 harrybaker admin 136 20 Jan 09:39 Firefox.app
-rw-r--r--@ 1 harrybaker admin 130556 18 Jan 2012 Flash Player
drwxr-xr-x 3 root wheel 102 16 Nov 2010 Font Book.app
drwxr-xr-x 3 root wheel 102 25 Jun 2011 Front Row.app
drwxrwxr-x 3 root admin 102 17 Aug 2008 GarageBand.app
drwxr-xr-x 4 harrybaker admin 136 6 Aug 2010 Gimp.app
drwxrwxr-x@ 3 harrybaker admin 102 18 Jan 06:06 Google Chrome.app
drwxr-xr-x 3 root wheel 102 16 Nov 2010 Image Capture.app
drwxr-xr-x 4 harrybaker staff 136 30 Sep 2010 Kindle.app
drwxr-xr-x 3 harrybaker admin 102 12 May 2009 KompoZer.app
drwxr-xr-x 3 root wheel 102 21 Sep 09:29 Mail.app
drwxrwxr-x@ 14 502 admin 476 12 Aug 2008 Microsoft Office 2008
drwxrwxr-x@ 3 harrybaker admin 102 20 May 2010 OpenOffice.org.app
drwxr-xr-x 3 root wheel 102 25 Jun 2011 Photo Booth.app
drwxr-xr-x 3 harrybaker admin 102 7 Jan 2009 Plainstat.app
drwxr-xr-x 3 root wheel 102 16 Nov 2010 Preview.app
drwxr-xr-x 3 root wheel 102 21 Sep 09:29 QuickTime Player.app
drwxr-xr-x 3 506 admin 102 10 May 2011 RAW FILE CONVERTER EX powered by SILKYPIX.app
drwxr-xr-x 3 harrybaker staff 102 14 Jan 2011 Rawker.app
drwxr-xr-x@ 3 harrybaker admin 102 3 Nov 2010 RealPlayer Converter.app
drwxr-xr-x 3 harrybaker admin 102 4 Jun 2008 RealPlayer.app
drwxr-xr-x 3 root wheel 102 22 May 2012 Safari.app
drwxr-xr-x 3 harrybaker staff 102 13 Nov 11:43 Skype.app
drwxr-xr-x 3 harrybaker admin 102 23 Aug 2011 Skype_old.app
drwxr-xr-x 3 root wheel 102 19 May 2009 Stickies.app
drwxrwxr-x 3 root wheel 102 27 Jun 2009 System Preferences.app
drwxr-xr-x 3 root wheel 102 27 Jun 2009 TextEdit.app
drwxr-xr-x 3 root wheel 102 25 Jun 2011 Time Machine.app
drwxrwxr-x+ 34 root admin 1156 9 Jan 15:16 Utilities
drwxr-xr-x 4 harrybaker admin 136 6 Jan 2010 VueScan.app
drwxr-xr-x 3 root wheel 102 6 Apr 2011 iCal.app
drwxr-xr-x 3 root wheel 102 18 Jun 2010 iChat.app
drwxrwxr-x 3 root admin 102 17 Jul 2011 iDVD.app
drwxr-xr-x 3 harrybaker admin 102 22 Jun 2012 iFunBox.app
drwxrwxr-x 3 root admin 102 26 Aug 2008 iMovie.app
drwxrwxr-x 3 root admin 102 29 Oct 2008 iPhoto.app
drwxr-xr-x 3 root wheel 102 16 Nov 2010 iSync.app
drwxr-xr-x 3 root wheel 102 16 Dec 11:25 iTunes.app
drwxrwxr-x 3 root admin 102 17 Aug 2008 iWeb.app
drwxr-xr-x 3 harrybaker staff 102 22 Jun 2010 scidavis.app
harry-bakers-imac:Applications harrybaker$
harrybaker is offline   0 Reply With Quote
Old Jan 23, 2013, 08:34 AM   #6
LPZ
macrumors 65816
 
Join Date: Jul 2006
Quote:
Originally Posted by harrybaker View Post
These apps were installed when I bought the iMac some years ago and have worked perfectly. As I said, the warning notices have only started recently. Here is the output you requested. Thanks for the help.

drwxrwxr-x@ 14 502 admin 476 12 Aug 2008 Microsoft Office 2008

harry-bakers-imac:Applications harrybaker$
Thanks. A first step is to get the Microsoft Office 2008 folder and its contents owned by root. They are currently owned by user 502, which is not root and not harrybaker.

Please paste the following into Terminal:

Code:
sudo chown -R root /Applications/Microsoft\ Office\ 2008/
You will need to supply your admin password when it is requested. To see if the ownership was correctly changed, you can paste

Code:
cd /Applications; ls -l
into Terminal. If you see

Code:
drwxrwxr-x@ 14 root admin 476 12 Aug 2008 Microsoft Office 2008
in the output, then the application is now correctly owned by root.

Whether or not this by itself solves your problem remains to be seen. You'll have to give it a try.
LPZ is offline   0 Reply With Quote
Old Jan 23, 2013, 08:42 AM   #7
harrybaker
Thread Starter
macrumors newbie
 
Join Date: Dec 2009
I've done that and it's now owned by root. I'll switch off the computer, reboot and see if anything has changed
harrybaker is offline   0 Reply With Quote
Old Jan 23, 2013, 08:53 AM   #8
harrybaker
Thread Starter
macrumors newbie
 
Join Date: Dec 2009
I've rebooted and it seems that the problem is fixed. I'm puzzled as to why it changed a few weeks ago but perhaps it won't happen again. Many thanks.
harrybaker is offline   0 Reply With Quote
Old Jan 23, 2013, 09:17 AM   #9
LPZ
macrumors 65816
 
Join Date: Jul 2006
Quote:
Originally Posted by harrybaker View Post
I've rebooted and it seems that the problem is fixed. I'm puzzled as to why it changed a few weeks ago but perhaps it won't happen again. Many thanks.
You're welcome. Glad the problem is fixed. Fingers crossed

Not sure why the problem manifested itself just recently.
LPZ is offline   0 Reply With Quote
Old Jan 23, 2013, 12:24 PM   #10
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by harrybaker View Post
I've rebooted and it seems that the problem is fixed. I'm puzzled as to why it changed a few weeks ago but perhaps it won't happen again. Many thanks.
Part of the problem is that second Terminal command in your first post. That is to rebuild the launch services database. On my machine at least, running that command causes many apps to think they are being run for the first time and I get that prompt you are seeing.

I suspect now that you have fixed the underlying issue, as long as you don't run the launch services rebuild command again you will not see the prompt.
Weaselboy is offline   0 Reply With Quote
Old May 6, 2013, 08:16 AM   #11
macpuzzle
macrumors newbie
 
Join Date: May 2013
I have this problem too

Same thing happened to me, just only now it came up this warning when I tried to open Words, I searched google & found this thread. I entered the commands in terminal it shows:

205:/Applications Macbook$ ls -@l /Applications/Microsoft*
ls: illegal option -- @
usage: ls [-ABCFGHLPRSTWZabcdefghiklmnopqrstuwx1] [file ...]
205:/Applications Macbook$ ls -@l /Applications/Microsoft*
ls: illegal option -- @
usage: ls [-ABCFGHLPRSTWZabcdefghiklmnopqrstuwx1] [file ...]
205:/Applications Macbook$



Welcome to Darwin!
205:~ Macbook$ cd /Applications; ls -l
total 288
drwxrwxr-x 3 root admin 102 Nov 24 2009 Address Book.app
drwxrwxr-x 9 root admin 306 May 19 2007 Adobe Acrobat 7.0 Professional
drwxrwxr-x 9 root admin 306 Jan 30 18:14 Adobe Bridge
drwxrwxr-x 5 root admin 170 May 19 2007 Adobe Creative Suite 2
-rw-r--r-- 1 Macbook admin 0 Oct 7 2008 Adobe Flash Player 9
drwxrwxr-x 12 root admin 408 May 19 2007 Adobe GoLive CS2
drwxrwxr-x 3 root admin 102 May 19 2007 Adobe Help Center.app
drwxrwxr-x 3 root admin 102 Feb 20 2008 Adobe Help Viewer 1.0.app
drwxrwxr-x 16 root admin 544 Feb 25 2008 Adobe Illustrator CS2
drwxrwxr-x 16 root admin 544 May 19 2007 Adobe InDesign CS2
drwxrwxrwx 16 root admin 544 May 19 2007 Adobe Photoshop CS2
drwxrwxr-x 6 Macbook admin 204 Feb 23 00:54 Adobe Reader 8
drwxrwxr-x 7 root admin 238 Nov 24 2009 AppleScript
drwxrwxr-x 3 root admin 102 Nov 25 2007 Automator.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 Calculator.app
drwxrwxr-x 9 root admin 306 Aug 4 2011 Canon Utilities
drwxrwxr-x 3 root admin 102 Aug 20 2006 Chess.app
drwxr-xr-x 3 Macbook admin 102 Jul 23 2011 ClamXav.app
drwxrwxr-x 3 root admin 102 Jan 23 2007 DVD Player.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 Dashboard.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 Dictionary.app
drwxr-xr-x 3 Macbook Macbook 102 Dec 4 07:39 Dropbox.app
drwxr-xr-x 3 501 admin 102 Jan 12 2006 Firefox.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 Font Book.app
drwxr-xr-x 3 Macbook admin 102 Mar 1 01:25 FrostWire.app
drwxr-xr-x 3 Macbook admin 102 Dec 6 2009 Google Chrome.app
drwxrwxr-x 3 root admin 102 Nov 24 2009 Image Capture.app
drwxrwxr-x 3 root admin 102 Nov 24 2009 Internet Connect.app
drwxrwxr-x 8 501 admin 272 May 19 2007 Macromedia Contribute 3
drwxrwxr-x 10 501 501 340 May 19 2007 Macromedia Dreamweaver 8
drwxrwxr-x 8 501 501 272 May 19 2007 Macromedia Extension Manager
drwxr-xr-x 16 501 501 544 May 19 2007 Macromedia Fireworks 8
drwxr-xr-x 11 501 501 374 May 19 2007 Macromedia Flash 8
drwxrwxr-x 6 501 501 204 May 19 2007 Macromedia Flash 8 VideoEncoder
drwxrwxr-x 3 root admin 102 Nov 24 2009 Mail.app
drwxr-xr-x 3 501 admin 102 Sep 23 2004 Microsoft AutoUpdate.app
-rw-r--r-- 1 Macbook admin 0 Sep 16 2007 Microsoft Messenger
drwxrwxr-x 3 501 admin 102 Jan 17 2007 Microsoft Messenger.app
drwxrwxr-x 15 501 501 510 Jun 7 2007 Microsoft Office 2004
drwxrwxrwx 3 root admin 102 Jun 13 2012 Mobile Partner.app
drwxrwxr-x 3 root admin 102 Aug 5 2006 Photo Booth.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 Preview.app
drwxrwxr-x 3 root admin 102 Nov 24 2009 QuickTime Player.app
drwxr-xr-x 3 501 admin 102 May 4 2006 RealPlayer.app
drwxrwxr-x 3 root admin 102 Dec 8 2010 Safari.app
drwxrwxr-x 3 root admin 102 Jan 23 2007 Sherlock.app
drwxr-xr-x 4 Macbook admin 136 Oct 5 2012 Shockwave_Installer_Slim.pkg
drwxr-xr-x 3 Macbook admin 102 Nov 17 2010 Skype.app
drwxrwxr-x 3 root admin 102 Aug 20 2006 Stickies.app
-rw-r--r-- 1 501 501 15073 Aug 26 2005 Studio 8 ReadMe.htm
drwxrwxr-x 3 root wheel 102 Nov 25 2007 System Preferences.app
drwxrwxr-x 3 root admin 102 Aug 20 2006 TextEdit.app
drwxrwxr-x 35 root admin 1190 Jan 18 01:32 Utilities
drwxr-xr-x 3 501 admin 102 Jan 4 2007 VLC.app
drwxr-xr-x 3 501 admin 102 Dec 16 2003 Windows Media Player.app
drwxr-xr-x 3 Macbook admin 102 Jul 6 2012 Yahoo! Messenger copy.app
drwxr-xr-x 3 Macbook admin 102 Jul 6 2012 Yahoo! Messenger.app
-rw-r--r-- 1 Macbook Macbook 0 Jun 14 2012 i450.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 iCal.app
drwxrwxr-x 3 root admin 102 Nov 24 2009 iChat.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 iDVD.app
drwxrwxr-x 3 root admin 102 Mar 17 2007 iMovie HD.app
drwxrwxr-x 3 root admin 102 Mar 17 2007 iPhoto.app
drwxrwxr-x 3 root admin 102 Nov 25 2007 iSync.app
drwxrwxr-x 3 root admin 102 Jun 26 2010 iTunes.app
-rw-r--r-- 1 root admin 78 Jun 13 2012 log.txt


What does the illegal option means?

I only serviced it once before many years ago and I supposed the servicer had reintalled some apps at that time.
I used to open documents in my microsoft Words there were no warning before, why it suddenly warns me? I'm not sure should I ignore it and proceed to open or not? Can someone please explain to me and what should I do?













Quote:
Originally Posted by LPZ View Post
One thing I see is that these applications are owned by user 502. They should be owned by root. Seems like these were installed improperly.

It's easy to change the ownership of the applications. But I want to be clear about where exactly the apps are. To this end, would you please paste the following into Terminal and post the output:

Code:
cd /Applications; ls -l
macpuzzle is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
USB warnings on wake up digitalfailure OS X 10.8 Mountain Lion 3 Apr 5, 2013 09:44 AM
Application warnings martymcgee OS X 10.8 Mountain Lion 0 Mar 26, 2013 03:00 PM
iPad Mini: PLEASE! WAIT!~All these case warnings, here's why.... glen e iPad Accessories 27 Nov 8, 2012 10:00 AM

Forum Jump

All times are GMT -5. The time now is 09:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC