Repair permissions


Repair permissions

Repairing disk permissions is a troubleshooting activity commonly associated with the Mac OS X operating system.

Overview

The BSD layer in Mac OS X (and Darwin) is responsible for filesystem security, including the management of the Unix (POSIX) permissions model. Applications depend on the correct assignment and interpretation of permissions in order to function properly. [cite web | title=Apple - Developer - Security Overview: Permissions | url=http://developer.apple.com/documentation/Security/Conceptual/Security_Overview/Concepts/chapter_3_section_9.html | accessdate=2007-04-04]

Repairing permissions involves checking the permissions of a set of files and folders on a volume with Mac OS X installed against a list of correct POSIX permissions, and correcting any discrepancies. The list of correct permissions is compiled by consulting the various bill-of-materials (.bom) files. Typically, these files are stored within reduced-size Installer package (.pkg) files in the Receipts folder in the local Library folder (/Library/Receipts) on the volume being checked. Whenever a user installs software that uses the Mac OS X Installer package format, a bill-of-materials file is created which can be consulted for future permission repair. [cite web | title=Apple - About Disk Utility's Repair Disk Permissions feature | url=http://docs.info.apple.com/article.html?artnum=25751 | accessdate=2007-04-04]

Repairing permissions is a good first step in troubleshooting problems with Mac OS X; however, it is not a panacea. Files whose permissions have been incorrectly altered by an administrator, an administrator operating with root privileges, or a poorly-designed installer package (installed with similar privileges) can cause a wide array of problems ranging from application errors to the inability to boot Mac OS X. Some users periodically perform a permissions repair to prevent errors from developing; a practice considered useless (and even "voodoo") by several for versions of Mac OS X after Panther.

Usage

A permissions repair can be performed using Disk Utility (/Applications/Utilities/Disk Utility.app) by selecting a Mac OS X startup volume and clicking the Repair Disk Permissions in the First Aid section. A verification procedure, which will only check permissions, but not perform repairs, is also available. Both operations can be performed by using the diskutil command-line utility, which can be executed via local Terminal or remotely via SSH or the Send UNIX Command in Apple Remote Desktop:

diskutil repairPermissions /Volumes/

References

External links

* [http://www.macworld.com/2006/08/secrets/repairpermissions/ Repairing permissions: What you need to know] Macworld's Dan Frakes attempts to provide a thorough, balanced look at repairing permissions
* [http://www.unsanity.org/archives/000410.php Repairing Permissions is Useless] Unsanity's Rosyna tries to educate mac users about repairing permissions.
* [http://daringfireball.net/2006/04/repair_permissions ‘Repair Permissions’ Is Not a Recommended Step When Applying System Updates] John Gruber questions the practise of repairing permissions.
* [http://daringfireball.net/2006/04/repair_permissions_voodoo Seriously, ‘Repair Permissions’ Is Voodoo] Repairing permissions is declared to be voodoo.
* [http://docs.info.apple.com/article.html?artnum=106712 Troubleshooting permissions issues in Mac OS X] Apple document on troubleshooting permissions issues
* [http://docs.info.apple.com/article.html?artnum=25751 About Disk Utility's Repair Disk Permissions feature] Apple document on Disk Utility's repair disk permissions feature
* [http://www.lafcpug.org/care_feeding_jag_print.html Care and Feeding of Jaguar: OS X Drive Maintenance] Arguments for repairing permissions regularly


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Permission — may be: * Permission (philosophy), ethical conceptLaw: * Planning permission, British property status * Intellectual property: ** Historical Permission Notice and Disclaimer ** Permission cultureCreative works: * La Permission , novel *… …   Wikipedia

  • List of Mac OS X technologies — This is an incomplete list of the various technologies in Mac OS X.0 9A* Activity Monitor * Apple Address Book * Apache HTTP Server * Apple Filing Protocol (AFP) * Aqua * AutomatorB* BootX * BOMArchiveHelper * Bonjour (formerly Rendezvous) *… …   Wikipedia

  • Windows Registry — The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low level operating system components as well as the applications running on the… …   Wikipedia

  • Windows 2000 — Part of the Microsoft Windows family Screenshot of Windows 2000 Professional …   Wikipedia

  • File Allocation Table — For other uses, see Fat (disambiguation). FAT Developer Microsoft Full Name File Allocation Table FAT12 (12‑bit version) FAT16/FAT16B (16‑bit versions) FAT32 (32‑bit version with 28 bits used) Introduced …   Wikipedia

  • Matteo Ricci —     Matteo Ricci     † Catholic Encyclopedia ► Matteo Ricci     Founder of the Catholic missions of China, b. at Macerata in the Papal States, 6 Oct. 1552; d. at Peking, 11 May, 1610.     Ricci made his classical studies in his native town,… …   Catholic encyclopedia

  • Disk Utility — Developer(s) Apple Inc …   Wikipedia

  • MainMenu — Infobox Software name = MainMenu caption = MainMenu 2.0 (in development) icon/logo. developer = Santa Software latest release version = 1.7.2 (352) latest release date = March 16, 2007 operating system = Mac OS X genre = System Utilities license …   Wikipedia

  • Negative and positive rights — Rights Theoretical distinctions Natural and legal rights Claim rights and liberty rights Negative and positive rights I …   Wikipedia

  • Wells — For other uses, see Wells (disambiguation). Coordinates: 51°12′26″N 2°39′07″W / 51.2073°N 2.6519°W / 51.2073; 2.6519 …   Wikipedia


Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.