说真的,'修复权限'是Voodoo

Boot Camp mania hasn’t caused me to forget about those of you who, despite last week’s “‘Repair Permissions’ Is Not a Recommended Step When Applying System Updates”, still believe, or want to believe, in the voodoo of running “Repair Permissions” as a periodic maintenance task.

One problem is the name of the feature itself; either “Restore Permissions” or “Reset Permissions” would be a more apt name. “Repair” makes it sound as though files are broken if their permissions are affected by this process; that’s not the caseFiles might have perfectly valid permissions but differ from what’s expected by the Repair Permissions process.

根据Apple自己对该功能的描述

When you use Disk Utility to verify or repair disk permissions, it reviews each of the .bom files in/库/收益/and compares its list to the actual permissions on each file listed. If the permissions differ, Disk Utility reports the difference (and corrects them if you use the Repair feature).

However, just because a file’s current permissions differ from its original permissions as specified in the corresponding BOM file, does not mean that the current permissions are “wrong”The reason this feature exists is that sometimes, the permissionswrong, causing some sort of problem, and running Repair Permissions solves the problem.

Back in the 10.0 and 10.1 era, these permissions problems occurred frequently due to bugs in the system itselfIn my experience, these bugs were long ago eradicated, if not in 10.2, then by 10.3I think many people who experience “permissions” problems under 10.3 and 10.4 caused the problems themselves, by diddling with system files they ought not have diddled with.

If you are not experiencing any symptoms that would indicate permission-related problems, there is no reason to run Repair PermissionsRepair Permissions is not a periodic maintenance task or a preventive measure.

Arguing that you (a) run Repair Permissions all the time and (b) have no permission problems, and then drawing the conclusion that there’s a cause-and-effect relationship there, is like arguing that your diligent avoidance of sidewalk cracks has a causal relationship to the fact that your mother’s back is doing just fine. Troubleshooting computers is science, not magic.

公平对待那些坚持相信它的人a periodic maintenance task, there is at leastone Apple support documentation that hints that it is, but note the title of that document: “My Computer Keeps Freezing or I See a Flashing Question Mark”.

Even if you “verify” permissions and it shows some that don’t match, it doesn’t mean they’re错误They might be wrong, but they might just be different but still OK.

Those of you who do this probably aren’t doing any harm to your system, but you’re wasting an awful lot of your timeRunning Repair Permissions before you have an actual permissions problem is like taking antibiotics before you’re actually sick.

Don’t just take my word for all of this; here’s a weblog post titled “Exercises in Futility Part 2: Repairing Permissions Is Useless“来自去年五月的Unsanity's Rosyna:

杰森哈里斯said (and I am paraphrasing), “Repairing permissions is zapping the PRAM for the twenty-first century”我完全赞同Both are equally futile attempts to fix a completely unrelated problem. In other words, 99% of the time, neither will fix nor prevent any problemEspecially not the problems they are recommended forCovering yourself in vaseline and rolling around naked in the dirt and repairing permissions are just as likely to fix your Mac OS X problemPeople swear by repairing permissions as often as they save files and present as proof the fact they don’t have any problems这是相当的specious reasoning

When Rosyna and I are in nearly complete agreement, that’s something, and I think the odds are pretty good we’re right.

MacFixIt疯狂

The page is now hidden behind their subscribers-only firewall, but here are MacFixIt’sabsurd upgrade instructions for Mac OS X 10.4.6

We recommend the following procedure when installing Mac OS X 10.4.6.

First, avoid performing any other operations (in Mac OS X or third-party applications) while the update process is occurring. In addition, before installing this security update, make sure all Apple-installed applications and utilities are in their original locationsMoving one of these applications to a different location on your hard drive can lead to an incomplete update. Also, disconnect any FireWire/USB devices before applying Mac OS X 10.4.6, then re-connect the devices one by one after the update process is complete and the system has restarted.

嗯,那还不错I’m not sure what they mean by “re-connect [SIC] the devices one-by-one”, though, and I’m assuming mice and keyboards are exempt from their unplug-all-USB-devices policy.

What comes next is where they dive deep into la-la land, and where by “even more cautious”, they mean “totally nutso”:1

If you’d like to take an even more cautious route, use the following process:

  • 首先创建启动卷的备份。

  • 拖动位于的com.apple.SoftwareUpdate文件夹/图书馆/缓存(the Library folder at the root level of your hard drive) to the trash.

  • Download the standalone version of Mac OS X 10.4.6 and save it for later.

  • Startup (restart) your Mac using a drive other than your usual startup drive as the boot volumeThis can include an eDrive created by TechTool Pro, or better, an external FireWireMake sure that this drive includes a copy of Disk Utility (which can simply be copied from your normal startup volume).

  • 从临时启动驱动器启动磁盘工具Perform a “Repair Disk” operation on your normal startup drive (which should now appear as another mounted volume in the Finder)

  • Again restart, this time booting from your normal startup volume, while holding the “Shift” key to boot in Safe Mode.

  • Apply Mac OS X 10.4.6 and restart when prompted, this time without holding the “Shift” key.

They apparently forgot to document the initial step, where you wrap your head in heavy-duty aluminum foil to block the mind-control rays emitted from installer packages.2

然而,甚至这些nutty instructions don’t mention running Repair Permissions.


  1. 除了关于备份的部分 - 这实际上是很好的建议。↩︎

  2. 你在哪里想MindVision软件有他们的名字?↩︎