image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old November 26th, 2007, 02:21 AM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Withstanding is on a distinguished road
I did something very, very, VERY stupid.

You're going to laugh. I need someone to tell me just exactly how badly I've stuffed up.

chmod -R 777 /

It's a really long story. Are you done laughing yet? Anyway after spending about an hour figuring out how to get sudo working again, I'm piecing together the permissions of some kernel extensions trying to get some basic functionality back.

:x
Reply With Quote
  #2  
Old November 26th, 2007, 02:53 AM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,448
Thanks: 2
Thanked 5 Times in 5 Posts
Mikuro is on a distinguished road


Have you tried booting from the installation disk and running "Repair Permissions" from its copy of Disk Utility? I think that ought to fix at least the system files. (Although I can't say I've ever tested it with such extensive permission damage.)
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #3  
Old November 26th, 2007, 05:43 AM
chevy's Avatar
Leopardo Da Vinci
 
Join Date: Nov 2001
Location: Inside the black box, CH
Posts: 3,811
Thanks: 0
Thanked 0 Times in 0 Posts
chevy is on a distinguished road
have your tried rm -fR *.* ?

(hem... DON'T DO IT.... !!!!)
__________________
My current machine is an iMac Core 2 Duo 2.16 GHz 24" with MacOS X 10.5.1. My Apples are here. My oldest Apple was born in 1977.
Surf my .mac web site.
GS/P/>SS d-(++) s+: a+ C+(C) U* P L+ E--- W++ N- o+ K? w O-- M++ V PS+
PE+ Y- PGP t+ 5 X+ R tv-- b+++ DI++ D+ G e+++ h---- r+++ y?

Time is not changing, I'm just traveling through time.
Reply With Quote
  #4  
Old November 26th, 2007, 09:48 AM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Withstanding is on a distinguished road
Quote:
Originally Posted by chevy View Post
have your tried rm -fR *.* ?

(hem... DON'T DO IT.... !!!!)
See, after my frantic jerry-rigging spree last night I know way better than that command.

Um, as far as Disk Permissions go, I was hoping there would be an easier way to do it but if I need a disk, meh.
Reply With Quote
  #5  
Old November 26th, 2007, 10:22 AM
Lt Major Burns's Avatar
"Dicky" Charlteston-Burns
 
Join Date: Jan 2005
Location: Manchester
Posts: 3,329
Thanks: 0
Thanked 0 Times in 0 Posts
Lt Major Burns will become famous soon enough
i know what chmod 777 does, what is this one? why is bad? does it change every file on disk to read and write for everyone?
__________________
Dual 1.8GHz G5 2GB, 1TB, Radeon 9600XT 128MB, 10.5
20" Apple Cinema Display + Dell 2005FPW 20" dual-head
iBook G3 700MHz
640MB, 40GB, Rage128 16MB, 10.4, dying battery
Reply With Quote
  #6  
Old November 26th, 2007, 10:45 AM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Withstanding is on a distinguished road
there are a lot of things that need specific permission settings to work properly (Also yes it changes every file on the disk to 777)

i.e. I found out that kernel extension files need to be 755 while every file inside them is 644. So I had to go into SUM again and fix sudo so i could use chmod.
Reply With Quote
  #7  
Old November 28th, 2007, 03:18 PM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Withstanding is on a distinguished road
Got out my install disk and repaired permissions.

Rebooted the MacBook and got an instant kernel panic "Cannot find driver for a platform: ACPI" (or something extremely similar)

Help :x The only tool I have left is Terminal (through install disk)
Reply With Quote
  #8  
Old November 28th, 2007, 04:19 PM
Registered User
 
Join Date: Oct 2002
Posts: 281
Thanks: 0
Thanked 0 Times in 0 Posts
pedz is on a distinguished road
Quote:
Originally Posted by Withstanding View Post
"Cannot find driver for a platform: ACPI"
Thats an odd error. I'd try a "repair" of the HD followed by another repair of the permissions. May not help but can't hurt.

If that fails, the only other idea I have is reinstall just the OS. Don't blow everything away, let install do an upgrade.
Reply With Quote
Reply

Thread Tools

Posting 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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:07 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.