Friend screwed up startup with chmod.

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.

Posted on Aug 20, 2011 4:44 PM

Reply
12 replies

Aug 20, 2011 4:49 PM in response to scb

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.

Aug 20, 2011 5:14 PM in response to Kappy

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.

Aug 20, 2011 5:23 PM in response to scb

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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Friend screwed up startup with chmod.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.