View Single Post
 
Old 04-09-2008, 11:14 PM
Puttabong's Avatar
Puttabong Puttabong is offline
 
Join Date: Jan 2008
Location: South Korea
Posts: 933
Hi there,

You set the permissions wrong, mate :-)

Most System Files are labeled as root:wheel, which means User: Root and Group: Wheel. This is the default by Apple.

Here's how to fix/repair the permissions correctly, after you have installed a new kext, for example:

Code:
sudo chmod -R 755 /System/Library/Extensions/Your.kext
sudo chown -R root:wheel /System/Library/Extensions/Your.kext
rm -rf /System/Library/Extensions.mkext
Explanation:

1. Chmod -R 755 changes the File Permissions to 755, which means read and execute access for everyone and also write access for the owner of the file.
2. Chown -R root:wheel sets the owner to root and the group to wheel
3. The last step deletes the extensions cache

---

To edit your boot.plist file, you don't have to change any permissions, though:

All you do is launch a terminal, and type -

Code:
sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
- to open & edit the file to your liking, save it by pressing CTRL + O, then quit with CTRL + X.

---
As far as I know, the permissions for com.apple.Boot.plist are labeled as root:admin

Try this to fix your system:

1. Boot with the DVD

2. Enter single user mode by entering "-s" at boot prompt, without the quotes

3. Type
Code:
sudo chmod -R 755 /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
sudo chown -R root:admin /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
Reply With Quote