Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I removed the staff group and closed my finder window (yes I am a fool for doing this). After closing the window, I effectively lost access to everything on my "Macintosh HD". I re-booted and was happy to see my login screen, but after I login all I have is a grey screen and cursor.

  1. I rebooted holding Comand+R
  2. I chose "disc utility" and then "unlocked" Macintosh HD
  3. I opened Terminal and typed "password"
  4. I did not reset my password, but clicked "repair permissions and ACL's"
  5. I quit terminal (using Command+Q) and did the same for "reset password utility"
  6. I rebooted and got back to the login screen, but have the same problem

I have a retina Macbook Pro (10.8.2); recovery is 10.8.1. I can access and see my files when I click "open from the recovery mode option", and I know my password, I just need to know how I can reset permissions. Re-formatting is an options, but I don't have any extra hard drives with me, and my main drive is nearly full, so I can't move things around.

share|improve this question
add comment

migrated from unix.stackexchange.com Mar 6 '13 at 14:45

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems..

1 Answer

You'll probably need to recreate the group staff via the command line. Staff should be in /etc/group You can check if it exists:

cat /etc/group | grep -i staff

I have staff as the following: staff:*:20:root

You can create the group again and add root to that group, put it in the sameGroupID etc although I'm not sure if that will do the trick. I never had to do this before so I would recommend before you do anything to connect your mac via firewire to another mac.

Restart your laptop while holding 'T' so it acts like a firewire drive (no files in use by the system) so you can copy the complete disk...

Easy way to clone would be something like carbon copy cloner. Other possibility is use of the asr command in the terminal.

The recreation of groups and adding users etc can be done via the command dscl

There is someone else who had this kind of issue so you could also have a look here: http://superuser.com/questions/477572/mac-osx-repair-staff-group

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.