Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mkrishnan

Moderator emeritus
Original poster
Jan 9, 2004
29,776
15
Grand Rapids, MI, USA
I...ahem...think I made some stupid mistakes trying to manually change some permissions. :(

Can anyone please do me a big favor, and show me a list of

ls -la /library

To see which things at the*root of /library are supposed to be owned by root:admin and which are supposed to be owned by root:wheel?

:eek:

Thank you! :)
 
jay:~ robbie$ ls -al /Library/
total 0
drwxrwxr-x 44 root admin 1496 Feb 22 22:10 .
dr-xrwxr-t 30 root admin 1122 Feb 27 18:58 ..
-rw-rw-r-- 1 root admin 0 Jan 13 20:51 .localized
drwxrwxr-x 2 root admin 68 Jan 31 06:53 Address Book Plug-Ins
drwxrwxr-x 19 root admin 646 Feb 23 23:36 Application Support
drwxrwxr-x 10 root admin 340 Feb 4 04:39 Audio
drwxrwxr-x 3 robbie admin 102 Feb 22 22:15 CFMSupport
drwxrwxrwt 35 root admin 1190 Feb 27 20:22 Caches
drwxrwxr-x 6 root admin 204 Feb 4 04:08 ColorSync
drwxrwxr-x 4 root admin 136 Jan 31 06:53 Colors
drwxrwxr-x 2 root admin 68 Feb 4 04:17 Components
drwxrwxr-x 2 root admin 68 Jan 29 04:03 Contextual Menu Items
drwxrwxr-x 30 root admin 1020 Jan 13 19:12 Desktop Pictures
drwxrwxr-x 4 root admin 136 Mar 16 2005 Dictionaries
drwxrwxr-x 11 root admin 374 Feb 22 22:27 Documentation
drwxrwxr-x 3 root admin 102 Jan 31 06:51 Filesystems
drwxrwxr-x 113 root admin 3842 Feb 4 04:36 Fonts
drwxrwxr-x 5 root admin 170 Feb 22 22:15 Frameworks
drwxrwxr-x 3 root admin 102 Jan 29 04:06 Graphics
drwxrwxr-x 4 root admin 136 Feb 4 04:09 Image Capture
drwxrwxr-x 11 root admin 374 Feb 4 04:45 Internet Plug-Ins
drwxrwxr-x 4 root admin 136 Feb 4 04:16 Java
drwxrwxr-x 2 root admin 68 Jan 13 16:38 Keyboard Layouts
drwxr-xr-x 3 root admin 102 Feb 4 04:17 Keychains
drwxr-xr-x 2 root wheel 68 Jan 13 20:14 LaunchAgents
drwxr-xr-x 2 root wheel 68 Jan 13 20:14 LaunchDaemons
drwxrwxr-x 5 root admin 170 Feb 22 22:21 Logs
drwxrwxr-x 3 root admin 102 Jan 14 10:05 Mail
drwxrwxr-x 170 root admin 5780 Feb 4 04:09 Modem Scripts
drwxrwxr-x 8 root admin 272 Jan 14 10:04 PDF Services
drwxrwxr-x 3 root admin 102 Jan 13 18:20 Perl
drwxr-xr-x 3 root admin 102 Feb 23 23:36 PreferencePanes
drwxrwxr-x 28 root admin 952 Feb 27 18:58 Preferences
drwxrwxr-x 16 root admin 544 Feb 4 04:12 Printers
drwxrwxr-x 3 root admin 102 Jan 14 04:27 Python
drwxrwxr-x 3 root admin 102 Feb 4 04:49 QuickTime
drwxrwxr-x 101 root admin 3434 Feb 23 23:36 Receipts
drwxrwxr-x 4 root admin 136 Feb 22 20:56 Screen Savers
drwxrwxr-x 19 root admin 646 Feb 4 04:08 Scripts
drwxrwxr-x 9 root admin 306 Feb 22 23:31 Spotlight
drwxr-xr-x 2 root wheel 68 Jan 13 20:14 StartupItems
drwxrwxr-x 7 root admin 238 Jan 13 19:12 User Pictures
drwxrwxr-x 4 root admin 136 Feb 4 04:09 WebServer
drwxr-xr-x 20 root admin 680 Feb 4 04:10 Widgets
 
wouldn't a permissions repair fix this issue if there is one? Mine is the same as RD's.

LaunchDaemons and LaunchAgents and StartupItems are the only root:wheel perms. Though StartupItems will fix it self automatically if it's incorrect.

Code:
[perrolle:~/Desktop] yellow% ls -laF /Library
total 48
drwxrwxr-t    51 root    admin    1734 Feb 22 07:00 ./
drwxrwxr-t    39 root    admin    1428 Feb 22 07:00 ../
-rw-rw-r--     1 root    admin   21508 Feb 17 07:03 .DS_Store
-rw-rw-r--     1 root    admin       0 Mar 20  2005 .localized
drwxrwxr-x     2 root    admin      68 Sep 27  2003 Address Book Plug-Ins/
drwxrwxr-x    55 root    admin    1870 Feb 22 14:09 Application Support/
drwxrwxr-x    10 root    admin     340 Feb 20 16:41 Audio/
drwxrwxr-x     6 root    admin     204 Jun  7  2005 CFMSupport/
drwxrwxrwt    25 root    admin     850 Feb 27 15:25 Caches/
drwxrwxr-x     6 root    admin     204 Oct 13 10:41 ColorSync/
drwxrwxr-x     3 root    admin     102 Mar 27  2005 Colors/
drwxrwxr-x     2 root    admin      68 Jan 15 17:11 Components/
drwxrwxr-x     5 root    admin     170 Oct 13 13:07 Contextual Menu Items/
drwxrwxr-x    31 root    admin    1054 Oct 17 13:52 Desktop Pictures/
drwxrwxr-x     4 root    admin     136 Mar 15  2005 Dictionaries/
drwxr-xr-x     3 root    admin     102 May  5  2005 DiscRecording/
drwxrwxr-x    16 root    admin     544 Feb 20 16:33 Documentation/
drwxrwxr-x     4 root    admin     136 Oct 17 13:52 Filesystems/
drwxrwxr-x    44 root    admin    1496 Feb 20 16:48 Fonts/
drwxrwxr-x     8 root    admin     272 Feb 22 09:14 Frameworks/
drwxrwxr-x     4 root    admin     136 Oct 17 13:52 Graphics/
drwxrwxr-x     4 root    admin     136 Sep 27  2003 Image Capture/
drwxr-xr-x     4 yellow  yellow    136 Feb 17 07:03 InputManagers/
drwxrwxr-x    21 root    admin     714 Feb 20 16:32 Internet Plug-Ins/
drwxrwxr-x     5 root    admin     170 Oct 17 13:53 Java/
drwxrwxr-x     2 root    admin      68 Sep 12  2003 Keyboard Layouts/
drwxr-xr-x     4 root    admin     136 Mar 25  2005 Keychains/
drwxr-xr-x     2 root    wheel      68 Mar 23  2005 LaunchAgents/
drwxr-xr-x     2 root    wheel      68 Mar 23  2005 LaunchDaemons/
drwxrwxr-x     8 root    admin     272 Feb 15 14:05 Logs/
drwxrwxr-x     3 root    admin     102 Mar 22  2005 Mail/
drwxrwxr-x   170 root    admin    5780 Nov  3 13:56 Modem Scripts/
drwxr-xr-x     3 yellow  admin     102 Apr  6  2005 Mozilla/
drwxrwxr-x     8 root    admin     272 Mar 22  2005 PDF Services/
drwxr-xr-x     2 yellow  admin      68 Mar 25  2005 Packages/
drwxrwxr-x     3 root    admin     102 Oct 13 10:41 Perl/
drwxrwxr-x     7 root    admin     238 Jan 15 17:11 PreferencePanes/
drwxrwxr-x    59 root    admin    2006 Feb 22 12:43 Preferences/
drwxrwxr-x     3 yellow  yellow    102 Jan  6 17:32 PreferencesPanes/
drwxrwxr-x     7 root    admin     238 Jun  7  2005 Printers/
drwxrwxr-x     4 root    admin     136 Mar 25  2005 Python/
drwxrwxr-x     9 root    admin     306 Feb 20 16:49 QuickTime/
drwxrwx---     9 yellow  admin     306 Oct 13 10:23 ROOTSAVE/
drwxrwxr-x   299 root    admin   10166 Feb 23 10:06 Receipts/
drwxrwxr-x     4 root    admin     136 Mar 25  2005 Screen Savers/
drwxrwxr-x    13 root    admin     442 Nov 17 13:17 Scripts/
drwxrwxr-x     9 root    admin     306 Feb 20 16:48 Spotlight/
drwxr-xr-x     7 root    wheel     238 Jan  3 13:38 StartupItems/
drwxrwxr-x     8 root    admin     272 Mar 25  2005 User Pictures/
drwxrwxr-x     6 root    admin     204 Oct 17 14:07 WebServer/
drwxr-xr-x    20 root    admin     680 Jan 15 17:10 Widgets/
 
Yellow, Robbie, thanks for the help!

I think I was overzealous in worrying about /library files that were owned by my no-longer admin user account. My iBook beachballs when I change focus between apps. Even if the only thing open is Adium, say, and I focus between that and Finder. :(

And yes, those three directories went back to root:wheel automatically. And Sidetrack, which was in my StartupItems, was supposedly fixed by OS X, upon request.

But now I've rebooted twice, and my iBook is still acting funny. I re-installed Sidetrack, just in case the fix that OS X applied didn't completely fix the damage I did to it. So now I guess I need to reboot one more time, to see if I undid the damage. :eek:

Thanks again! :)
 
mkrishnan said:
I think I was overzealous in worrying about /library files that were owned by my no-longer admin user account. My iBook beachballs when I change focus between apps. Even if the only thing open is Adium, say, and I focus between that and Finder. :(

That happened to my Tiger when I changed my admin to a standard account using the sudo chown command. It started beachballing with just Finder and Safari open - just clicking on a menubar or in a text box would start it off. I wondered whether I'd screwed up permissions too.

I tried repairing permissions, zapping PRAM and reinstalling the Combo update to 10.4.5. None of those worked. I ended up restoring it from a backup (pre-admin change) and it all went back to normal. I used another command to change admin users this time and so far all has been as snappy™ as expected.
 
Applespider said:
I tried repairing permissions, zapping PRAM and reinstalling the Combo update to 10.4.5. None of those worked. I ended up restoring it from a backup (pre-admin change) and it all went back to normal. I used another command to change admin users this time and so far all has been as snappy™ as expected.

Oh, yes, I remember you describing this loosely, AS. I tried doing some forum searches, but I wasn't sure what to look for. :eek:

Right now, I did what seemed like the same thing to me, on both my iBook and my iMac. And the latter is fine. So I thought something that went awry with permissions for Sidetrack. But re-installing it didn't help. Uninstalling it doesn't seem to have helped. Something is messed up. :(

I think I may have to re-install OS X on my iBook.... :(:(:(

And actually, I'm not entirely sure my iMac isn't also screwed up, and just too fast to make it noticeable... :(
 
Hope that it's all better again now!

I'm not sure why those changes seemed to work for some and not others. But it was the only thing that I could tie my beachball problems down to - and part of me is quite glad that someone else has had them too since now I'm know it wasn't entirely in my head!

I had been going to A&I but then decided that restoring the most recent backup would be just as good since I wasn't sure that importing the settings that might be dodgy during an A&I was a good idea.
 
Yeah... I didn't have an explicit backup to go to. Just backups of documents and so on. :(

But A&I seems to have resolved the problem nicely. I think there must have been a raw permission somewhere, but I'm not sure where. And I'm still not so sure that there's anything wrong with my iMac, even though I did the same thing. Hmmm....

I think there might be, though, and I'm going to need to do this over there, too. The funny thing I noticed related to the beachballing is that if I took an application, say Activity Monitor, and I rapidly, repeatedly switched back and forth between it and another application, even the Finder, the CPU % would skyrocket and I'd get a beachball. Now that I re-installed OS X, I don't get skyrocketing on my iBook anymore. I do, though, on my iMac, but not enough to beachball it, because, I guess, it's so much faster than this thing is.

So I guess I have to re-install the OS on it, too.... :eek:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.