12 Replies Latest reply: Aug 20, 2011 10:54 PM by Kappy
scb Level 5 Level 5

Guy did a chmod thing, and now can't boot to his account. I am trying "chmod -R -E /Users/username". I hit "return" and get a ">". How ong shouold this take? Willl it fix this issue and allow him to again reboot? Easier method? Thanks.

 

Note: MB with Snow Leopard.

Solved by Kappy on Aug 20, 2011 5:23 PM Solved

OK, I thought you were as familiar as I am (which isn't that much, btw.)

 

After booting into single-user mode and you are at the prompt:

 

/sbin/mount -uw /

/usr/sbin/chown -R username /Volumes/Macintosh\ HD/Users/username

/bin/chmod -R u+rwX /Volumes/Macintosh\ HD/Users/username

reboot

 

I think this will do it.

Reply by Kappy on Aug 20, 2011 5:08 PM Helpful

Yes, I think so. But start with:

 

/sbin/mount -uw /

 

This will make the filesystem writeable. You won't need the "sudo" because you will be root. "Chown" is in /usr/sbin/ and "chmod" is in /bin/. You'll need to provide full paths to everything: /Volumes/volname/Users/username, for example.

All replies

  • Kappy Level 10 Level 10

    Are you trying to change ownership? If so try this:

     

    Open Terminal and enter this:

     

    sudo chown -R username /Users/username [Press return, read the lecture, enter your password]

    chmod -R u+rwX /Users/username

     

    [Press return]

     

    That will change file ownership of the contents of the whole home folder and restore read and write.

  • scb Level 5 Level 5

    Can't boot it up, Kappy. Can I do this in Single User? Thanks.

  • scb Level 5 Level 5

    He messed up the ability to boot into anything but guest user. Make sense?

  • Kappy Level 10 Level 10

    Yes, I think so. But start with:

     

    /sbin/mount -uw /

     

    This will make the filesystem writeable. You won't need the "sudo" because you will be root. "Chown" is in /usr/sbin/ and "chmod" is in /bin/. You'll need to provide full paths to everything: /Volumes/volname/Users/username, for example.

  • scb Level 5 Level 5

    Kappy, please be very specific. I am not a Terminal Command kind of guy. I did the "sbin" thing. That worked. No idea what the Volname is. I do have a user name. I suppose MacintoshHD is a good start. I'll T-mode if i need to.

     

    If I do figure out the

    :/Volumes/volname/Users/username,  command, after the sbin command, do I then apply

    chmod -R u+rwX /Users/username

     

    Thanks.

  • scb Level 5 Level 5

    Maybe I should restate my question. I just need to get control of this user (in single user mode), to boot into it. Thanks.

  • Kappy Level 10 Level 10

    OK, I thought you were as familiar as I am (which isn't that much, btw.)

     

    After booting into single-user mode and you are at the prompt:

     

    /sbin/mount -uw /

    /usr/sbin/chown -R username /Volumes/Macintosh\ HD/Users/username

    /bin/chmod -R u+rwX /Volumes/Macintosh\ HD/Users/username

    reboot

     

    I think this will do it.

  • Allan Eckert Level 9 Level 9
    expertise.notebooks
    Notebooks

    Hint: you may want to find a new friend. This one certainly sounds like a loser.

     

    Allan

  • scb Level 5 Level 5

    Real quick. The username is "Mark's iB". do I need a "\" in betwee? Thanks

  • scb Level 5 Level 5

    Some gave him "advice" about dooing this to get permissions for the internet. I don't even know what he did.

  • Allan Eckert Level 9 Level 9
    expertise.notebooks
    Notebooks

    Well if it were my Mac, he would never even be allowed to see it again never mind use it if he did that to mine.

     

    Allan

  • Kappy Level 10 Level 10

    Yep. Should be "Mark\ iB".