手殘,不小心把硬碟權限成No Access
如果你剛好一樣手殘把硬碟權限設成Custom Access and Locks Grayed Out,可以參考這份資料
Boot into single-user mode and at the prompt enter these commands pressing RETURN after each:
Q. I accidentally changed the permissions on a disk so that one or more of the permissions were set to No Access, and I can’t see the disk to change the permissions back. How do I fix this?
A1. If the disk in question is your Mac OS X startup disk and your computer stops starting up at the blue screen, restart with the Command and S keys held down, and enter the following commands:
mount -uw /
chown root /
chmod 1775 /
exit
A2. If the disk in question has Mac OS X installed but isn’t the current startup disk, open the Terminal in the /Applications/Utilities/ folder and enter the following:
sudo chown root “/Volumes/volumename/”
sudo chmod 1775 “/Volumes/volumename/”
sudo -k
You will be asked for your password when executing the first command; it will not appear in the Terminal window. Replace volumename with the disk’s actual name. If you don’t know what the disk’s name is, choose Go to Folder from the Finder’s Go menu, and enter /Volumes/ as the folder’s path. Locate the item corresponding to that disk and drag it into the Terminal window; in this case, omit the quote marks and all text between them in the existing commands. Log out and back in.
A3. If the disk in question does not have Mac OS X installed, open the Terminal in the /Applications/Utilities/ folder and enter the following:
chmod 775 “/Volumes/volumename/”
Replace volumename with the disk’s actual name. If you don’t know what the disk’s name is, choose Go to Folder from the Finder’s Go menu, and enter /Volumes/ as the folder’s path. Locate the item corresponding to that disk and drag it into the Terminal window; in this case, omit the quote marks and all text between them in the existing commands. If you get a message that you don’t have permission to do this, proceed as indicated in situation 2 above, but use 775 as the number. Log out and back in.
(11574)