kmosx: I accidentally set a disk's permissions to No Access
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.
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.