Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Repair permissions from command line?

Repair permissions from command line?
Thread Tools
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 06:40 PM
 
what's the command for repairing permissions from the shell?

i've got a part-time, freelance work-from-home employee who just changed all his permissions on his entire drive because he didn't know what he was doing, and all he can do with the machine is boot into single-user mode. He doesn't have an install disk there, since I installed his system using my multi-seat licesne, and I've got the disks here.

Yes, I ran a search. Sue me.

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Forum Regular
Join Date: Feb 2003
Status: Offline
Apr 14, 2005, 07:04 PM
 
Originally Posted by chris v
what's the command for repairing permissions from the shell?

i've got a part-time, freelance work-from-home employee who just changed all his permissions on his entire drive because he didn't know what he was doing, and all he can do with the machine is boot into single-user mode. He doesn't have an install disk there, since I installed his system using my multi-seat licesne, and I've got the disks here.

Yes, I ran a search. Sue me.

diskutil repairPermissions /
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Apr 14, 2005, 07:16 PM
 
Originally Posted by akuma-x
diskutil repairPermissions /
That won't work, you need to start a few more daemons before diskutil will be functional.

Here's a complete set of commands that should get you going:

Code:
fsck mount -uw / /usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d /sbin/SystemStarter start SecurityServer diskutil repairPermissions /

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Forum Regular
Join Date: Feb 2003
Status: Offline
Apr 14, 2005, 08:22 PM
 
Doh, I guess I should have read the whole thing. Then I would have noticed that he is in SU mode.
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:23 PM
 
Thanks-- it got him going. I don't know what he was thinking-- I installed OS 10 for him 2 weeks ago, gave him a 30 minute lesson, (I'd SWEAR I explained users and permissions at that point) and left him with a book to read. This was his big leap from OS 9, and he just doesn't have a grasp on multiple users, yet. He got the bright idea to change all the permissions and groups on his entire boot drive to his username, and naturally, he was fubarred.

Booting got him to the grey Apple screen, then a console, but no GUI login window. At first (when I posted this) we thought he was too f**d up to log in as a user even from the console, but he was typing his short username wrong, so he did manage to log into the CLI as an admin then run diskutil from there.

Thought at first we'd have to archive and install, but the repair seems to have worked. He certainly got a crash course in permissions, and I got a crash course in phone support.

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:30 PM
 
Originally Posted by frankiec
[color=blue]amazing insult about someone not knowing everything[/blue]
Are you talking to ME?

My job, FYI, is running a small screentprint shop, of which I'm 50% owner. I'm the production manager and pre-press color seperator, as well as ink mixer, production HR, supply inventory, and oh, yeah, I fix my own ... computers, because otherwise I might have to hire an mean guy like you, and you'll get my money when you pry it from my cold, dead hands.
( Last edited by Detrius; Apr 15, 2005 at 12:19 AM. Reason: Cleaned up an almost apropriate response to an insult)

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 09:38 PM
 
Originally Posted by frankiec
And, oh yeah, I don't work for people like you. You're too ignorant and cheap to hire people with knowledge.
Actually, if people weren't ignorant, they wouldn't need to hire IT people period. So you'd still be out of a job.

Originally Posted by frankiec
Wow, how'd you get your job? Daddy pulling strings again? Amazing the quality of "IT" people out there. Sadly, there's real IT people out-of-work only because they didn't have the right connections.
BITTER MUCH.

Ever consider the problem might be you?
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:41 PM
 
Originally Posted by memory-minus
Actually, if people weren't ignorant, they wouldn't need to hire IT people period. So you'd still be out of a job.
Ignorance is different than not having the time and knowledge.

...


Detrius says that ignorance is not different from not having knowledge
( Last edited by Detrius; Apr 15, 2005 at 12:22 AM. Reason: moronic insults)
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:44 PM
 
...

:

And, oh yeah, tell your Daddy that he would've been better off giving his money to charity than his crybaby son.
You really don't read well, do you? FYI, I bought a single squeegee, a gallon of black ink and 10 frames in 1992, with my own money. I parlayed that into a million-dollar company within four years, and my dad had nothing to do with it. He's a nice guy, but I've been supporting myself since I was 17, and never borrowed a dime from him.

I'm self-taught on my Macs, and I'm not a support person. I'm an end-user, who uses these forums for what they're for, unlike you, who appear to only use it to slam people for some sort of sick ego boost. Good luck with the therapy.
( Last edited by Detrius; Apr 15, 2005 at 12:27 AM. Reason: some people really do have attitude issues)

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Apr 14, 2005, 09:45 PM
 
Originally Posted by memory-minus
Actually, if people weren't ignorant, they wouldn't need to hire IT people period. So you'd still be out of a job.
Not true. I basically serve as the IT person at my work, but I wish I didn't, because I have a whole other job description I'm meant to be doing at the same time, so one or the other is always being forced to the backburner. Just because I can do it doesn't meant it's reasonable for me to fix every little computer problem that comes up.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:49 PM
 
Originally Posted by Chuckit
Not true. I basically serve as the IT person at my work, but I wish I didn't, because I have a whole other job description I'm meant to be doing at the same time, so one or the other is always being forced to the backburner. Just because I can do it doesn't meant it's reasonable for me to fix every little computer problem that comes up.
Heh, I know the feeling. If I'm running a system upgrade, it's "Hey, Chris! the press broke!" If I'm under the press with a wrench, it's "Hey, Chris! The Sawtooth beachballed!"

Can't win.

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:50 PM
 
Originally Posted by chris v
Heh, I know the feeling. If I'm running a system upgrade, it's "Hey, Chris! the press broke!" If I'm under the press with a wrench, it's "Hey, Chris! The Sawtooth beachballed!"

Can't win.
Little do they know "Chris" gets his "answers" from MacNN Forums.
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:50 PM
 
Originally Posted by frankiec
I said I was? Where was that? You must be stupider than you come across.


Classic. Abuse reported. Nice to meet ya, have a nice life, the end.

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:51 PM
 
Originally Posted by memory-minus
Easy there spaz...
Easy there, mommy.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:51 PM
 
Originally Posted by chris v


Classic. Abuse reported. Nice to meet ya, have a nice life, the end.
OMFG! He's actually a "tattler" just like his daddy used to spank him for.

Loser.
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 09:51 PM
 
Originally Posted by Chuckit
Not true. I basically serve as the IT person at my work, but I wish I didn't, because I have a whole other job description I'm meant to be doing at the same time, so one or the other is always being forced to the backburner. Just because I can do it doesn't meant it's reasonable for me to fix every little computer problem that comes up.
Nah, my point above was that if people were self-sufficient and knew their computers inside and out (as in, not ignorant) they wouldn't need to hire IT people (such as myself) in the first place.

Of course... it's in my best economic interest that the unwashed masses remain ignorant as to the mysterious ways of computronic machinery!
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:52 PM
 
Originally Posted by frankiec
Little do they know "Chris" gets his "answers" from MacNN Forums.
Okay, I just have to ask-- what's the matter with that? This IS a troubleshooting forum, isn't it?

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:52 PM
 
Originally Posted by memory-minus
LOL classic.

What are you, 14?
What are you, Chris' mommy? He can argue in his own arguments. Or maybe you're his boyfriend. How cute.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:52 PM
 
Originally Posted by chris v
Okay, I just have to ask-- what's the matter with that? This IS a troubleshooting forum, isn't it?
Yeah, serious troubleshooting!
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 09:53 PM
 
Oh, nevermind.

LOCK PLEASE!

That was sporting good fun. Neeeext?

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 09:54 PM
 
Originally Posted by frankiec
Little do they know "Chris" gets his "answers" from MacNN Forums.
Nothing wrong with querying a community of enthusiasts to get a quick answer... I do it all the time and get paid handsomly to do so. Sometimes if you don't use just the right wording, Google can spit out a bunch of useless links and coming to places like this is just more efficient. Well, that is, until you showed up and heckled people for asking questions.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:55 PM
 
Originally Posted by chris v
Oh, nevermind.

LOCK PLEASE!

That was sporting good fun. Neeeext?
MOMMY PLEASE!

"That was sporting good fun." LOL!!!!!!! You forgot the "old chap" on the end of that. Maybe your boyfriend, memory-plus, will remind you. He seems to have a sudden interest in defending you.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 09:56 PM
 
Originally Posted by memory-minus
Nothing wrong with querying a community of enthusiasts to get a quick answer... I do it all the time and get paid handsomly to do so. Sometimes if you don't use just the right wording, Google can spit out a bunch of useless links and coming to places like this is just more efficient. Well, that is, until you showed up and heckled people for asking questions.
No one is reading your blabbering. Did you notice that? Chris already knows that you've fallen head-over-heals for him. You've made your point.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Apr 14, 2005, 09:59 PM
 
Originally Posted by frankiec
Sue you? The first result from searching for os x repairing permissions from the shell on Google contains the answer.

"diskutil repairPermissions /" has been around for so long it's at the top of every OS X hint list. Even my dog knows about it -- and my dog doesn't get paid for his "work." The people that answered your "question" get a kick-back, right?

Wow, how'd you get your job? Daddy pulling strings again? Amazing the quality of "IT" people out there. Sadly, there's real IT people out-of-work only because they didn't have the right connections.
WTF? Did you even read his post? Or mine? He was asking how to repair permissions from single-user mode. And guess what? Simply running "diskutil repairPermissions /" in single-user mode won't work. It'll whine about Carbon Lazy Values unless you run the commands I posted.

Who's the moron now?

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 10:00 PM
 
I <3 memory minus

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 10:01 PM
 
Originally Posted by CharlesS
WTF? Did you even read his post? Or mine? He was asking how to repair permissions from single-user mode. And guess what? Simply running "diskutil repairPermissions /" in single-user mode won't work. It'll whine about Carbon Lazy Values unless you run the commands I posted.

Who's the moron now?
So you look up Carbon Lazy Values then. But why learn anything when you can get your answers free from people who already know but you choose to insult afterwards.

CharlesS: Another of Chris' boyfriends ignored.
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 10:01 PM
 
Originally Posted by CharlesS
WTF? Did you even read his post? Or mine? He was asking how to repair permissions from single-user mode. And guess what? Simply running "diskutil repairPermissions /" in single-user mode won't work. It'll whine about Carbon Lazy Values unless you run the commands I posted.

Who's the moron now?
LOL best thread evar.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 10:02 PM
 
Originally Posted by memory-minus
LOL best thread evar.
LOL u r supa computa d0rk
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 10:03 PM
 
Originally Posted by chris v
I <3 memory minus
At least there's some love around here tonight!
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 10:04 PM
 
Originally Posted by frankiec
No one asked you what you thought, CharlesS. Another faggot.
Make boyfriend jokes all you want but this language is uncalled for.

I second the lock request on this one.
     
Junior Member
Join Date: Apr 2005
Location: Don't cry, cyberpu$$y.
Status: Offline
Apr 14, 2005, 10:07 PM
 
Originally Posted by memory-minus
Originally Posted by frankic
No one asked you what you thought, CharlesS. Another faggot.
Make boyfriend jokes all you want but this language is uncalled for.

I second the lock request on this one.
I did NOT write that.

You are a liar.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Apr 14, 2005, 10:07 PM
 
Originally Posted by frankiec
So you look up Carbon Lazy Values then. But why learn anything when you can get your answers free from people who already know but you choose to insult afterwards.

CharlesS: Another of Chris' boyfriends ignored.
Wow, just... wow.

I'm sure that many newbies to this forum will really get a good impression of our helpful, knowledgeable Mac community by reading this thread.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Senior User
Join Date: Feb 2004
Location: Lost in a "plus" world
Status: Offline
Apr 14, 2005, 10:10 PM
 
Originally Posted by frankiec
I did NOT write that.

You are a liar.
Actually, you did, and then you edited it.

Good thing my cache still had the original so I could take a screenshot.
     
chris v  (op)
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Apr 14, 2005, 10:12 PM
 
Originally Posted by CharlesS
Wow, just... wow.

I'm sure that many newbies to this forum will really get a good impression of our helpful, knowledgeable Mac community by reading this thread.
But hey, it WAS an actual instance in which repairing permissions was actually called for.

I'm going to make the artist-guy repair permissions once an hour for a week as pennance!

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Administrator
Join Date: Mar 2000
Location: Land of the Easily Amused
Status: Offline
Apr 14, 2005, 10:19 PM
 
i know that repairing permissions is a hot topic, not unlike abortion, religion, or favorite football teams. but seriously guys, calm down.
     
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status: Offline
Apr 15, 2005, 12:45 AM
 
I don't have time for you people. I'm busy trying to move to California.

Take it somewhere else. This is directly aimed at memory-minus and frankiec. Don't do this again.
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -4. The time now is 02:35 PM.
All contents of these forums © 1995-2014 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2014, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2