手殘,不小心把硬碟權限成No Access

如果你剛好一樣手殘把硬碟權限設成Custom Access and Locks Grayed Out,可以參考這份資料

Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.

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)

Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.
原文出處:https://discussions.apple.com/docs/DOC-2240
原文出處:https://discussions.apple.com/thread/3028354?start=0

Tags:

You May Also Like

ZNAPS 7/28 在 Kickstarter 狀態更新

主要的原因是因為Znaps 細節的問題(磁吸金屬接頭以及內部零件),因與之前合作的大陸廠商 取得的零件跟當初合約立下的不一樣,導致ZNAPS 有許多細節不穩定, 又因組裝速度無法自動化,因而一再的延期。   日前已經與另一家新的廠商 將在8月份談成新的合作廠商 並預告會加快生產的速度,並盡快出貨。   各位預購ZNAPS的朋友您好 歡迎有任何問題都可以與我們聯絡 營業時間:12:00~21:30 聯絡電話:07-3590048 ...

推薦APP :SleepTime 或者SleepBot – 打鼾居然會導致失智症?

  利用APP”SleepTime” 記錄自己睡眠時的狀態 很多以為自己不會打呼的朋友。其實只是因為自己睡覺時並無聽到打呼的聲音 透過SleepTime(中文介面、版本有持續更新) 不僅可以分析自己的睡眠狀態,更可以瞭解自己的健康跟長期以來的身體狀況 透過SleepBot(英文介面、版本維持舊版) 可記錄下自己的打鼾聲音       為何要記錄睡眠時有無進入熟睡呢?(總是睡醒後還是覺得很疲憊)   請注意,只有在「熟睡時」,腦脊髓液才會做這件事情,淺眠時不會,白天時則根本不流動。也就是說,大腦排毒只發生在熟睡時。所以如果不熟睡會怎麼樣?答案是毒素一直排不掉,慢慢累積,一開始會高血壓、腦茫,累積到最後,大腦就萎縮,引發老年失智症。 ...