PDA

View Full Version : Repair Disk Permissions not working?




QuantumLo0p
May 18, 2012, 10:18 PM
When I use Repair Disk Permissions I suspect it isn't working. In the results window, other than "Repairing permissions for hdd" and "permissions repair complete" there are no other details. Yes I know you might say well perhaps there is nothing to repair but apparently there has been nothing to repair ever since shortly after I installed Lion and about a dozen third party apps which I find completely unusual. I have always had at least a few permission go awry from time to time.

Just to try another step I booted into Repair Utilities and then Reset Home Directory Permissions and ACL's. That just seemed to hang; not completing even after about an hour. (perhaps DHS, Anonymous or Art Bell is in my machine?!?)

Any thoughts on what is going on?

I'm baffled ATM.
:(



MisterMe
May 19, 2012, 08:05 AM
You "suspect" that permissions repair is not working? I suspect that there is no reason to repair permissions on your system. Permissions repair is one of the most used and least needed tasks that novice Mac users do to their machines. They think that these permissions get "broken" and that repairing them will magically fix all problems real and imagined. Permissions don't routinely break and users don't need to routinel repair them.

It is important to understand what a permissions repair does. Each application's permissions are stored in its .pkg bundle in the /Library/Receipts/ folder. A permissions repair merely ensures that the application's permissions matches those of its receipt. This is a task repeated whenever you update your OS and many applications. There is no magic involved.

robgendreau
May 19, 2012, 11:01 AM
I agree with MisterMe. You're probably wasting your time. Using Disk Utility to "fix" permissions doesn't necessarily solve your permission issues even if you have them. It cannot tell what you intend with your own files. It's like asking a spell checker if your post makes sense.

If you are this interested get a book on Unix permissions and start reading up. There will be lots of sections on how to manually change permissions and when to do so. I also think there's a Take Control book on the same issue.

But if you don't have any specific problems, why mess with it?

QuantumLo0p
May 19, 2012, 06:57 PM
Pertaining to repairs I have heard your sentiments in other forums. Perhaps it's useless these days. The main reason I wanted to try it because ooVoo works for only one of my users but other users, on the same machine, cannot use it; the app just bounces in the dock and never starts up. The other thing I was trying to address is SophosAV keeps unlocking itself which could very well be a glitch rather than a permission issue.

Permission repair aside, do either of you have experience running the password reset utility, from command+R on boot, which has the ability to reset user folder permissions and ACL's? IMO it has a useful purpose and I'm very interested in using it. However, like I mentioned in my OP when I tried to use it, it appeared to hang and I killed it after an hour.

MisterMe
May 19, 2012, 10:34 PM
Wow! Permissions repair has always been a useless exercise. It did just become useless last month.

SophosAV? Why?

I get the feeling that you are here asking for help implementing prescriptions for problems that you don't understand. For example, your ooVoo problem sounds like an improper installation. For a problem like your in the case of a proper installation, the standard strategy for remedying the situation is to remove the associated .plist file from the [user's] ~/Library/Preferences folder to the Desktop. Then relaunch the application.

It might be useful to explain how and where you installed ooVoo for each user.

GGJstudios
May 19, 2012, 11:01 PM
When I use Repair Disk Permissions I suspect it isn't working.
Some people repair, or recommend repairing permissions for situations where it isn't appropriate. Repairing permissions only addresses very specific issues. It is not a "cure all" or a general performance enhancer, and doesn't need to be done on a regular basis. It also doesn't address permissions problems with your files or 3rd party apps.

Five Mac maintenance myths (http://www.macworld.com/article/133684/2008/06/maintenance_intro.html)
Repairing permissions: What you need to know (http://www.macworld.com/article/52220/2006/08/repairpermissions.html)
About Disk Utility's Repair Disk Permissions feature (http://support.apple.com/kb/HT1452)
Disk Utility repairs the permissions for files installed by the Mac OS X Installer, Software Update, or an Apple software installer. It doesn’t repair permissions for your documents, your home folder, and third-party applications.

You can verify or repair permissions only on a disk with Mac OS X installed.
Does Disk Utility check permissions on all files?

Files that aren't installed as part of an Apple-originated installer package are not listed in a receipt and therefore are not checked. For example, if you install an application using a non-Apple installer application, or by copying it from a disk image, network volume, or other disk instead of installing it via Installer, a receipt file isn't created. This is expected. Some applications are designed to be installed in one of those ways.

Also, certain files whose permissions can be changed during normal usage without affecting their function are intentionally not checked.
There are times when repairing permissions is appropriate. To do so, here are the instructions:
Repairing Disk Permissions (http://docs.info.apple.com/article.html?path=DiskUtility/11.5/en/7070.html)
If repairing permissions results in error messages, some of these messages can be ignored and should be no cause for concern.
Mac OS X: Disk Utility's Repair Disk Permissions messages that you can safely ignore (http://support.apple.com/kb/ts1448)
The other thing I was trying to address is SophosAV keeps unlocking itself which could very well be a glitch rather than a permission issue.
I recommend that you avoid using Sophos, as it could actually increase your Mac's vulnerability, as described here (http://forums.macrumors.com/showpost.php?p=11570070&postcount=31) and here (http://forums.macrumors.com/showpost.php?p=12029337&postcount=41).

Macs are not immune to malware, but no true viruses exist in the wild that can run on Mac OS X, and there never have been any since it was released over 10 years ago. The only malware in the wild that can affect Mac OS X is a handful of trojans, which can be easily avoided by practicing safe computing (see below). Also, Mac OS X Snow Leopard and Lion have anti-malware protection (http://support.apple.com/kb/ht4651) built in, further reducing the need for 3rd party antivirus apps.
Mac Virus/Malware FAQ (http://guides.macrumors.com/Mac_Virus/Malware_FAQ)

Make sure your built-in Mac firewall is enabled in System Preferences > Security > Firewall


Uncheck "Open "safe" files after downloading" in Safari > Preferences > General


Disable Java in your browser (Safari (http://support.apple.com/kb/HT5241), Chrome (http://www.podfeet.com/wordpress/tutorials/how-to-disable-java-in-chrome/), Firefox (http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets)). This will protect you from malware that exploits Java in your browser, including the recent Flashback trojan (http://support.apple.com/kb/HT5244). Leave Java disabled until you visit a trusted site that requires it, then re-enable only for the duration of your visit to that site. (This is not to be confused with JavaScript, which you should leave enabled.)


Change your DNS servers to OpenDNS servers by reading this (http://guides.macrumors.com/Mac_Virus/Malware_FAQ#Why_am_I_being_redirected_to_other_sites.3F).


Be careful to only install software from trusted, reputable sites. Never install pirated software. If you're not sure about an app, ask in this forum before installing.


Never let someone else have access to install anything on your Mac.


Don't open files that you receive from unknown or untrusted sources.


For added security, make sure all network, email, financial and other important passwords are long and complex, including upper and lower case letters, numbers and special characters.


Always keep your Mac and application software updated. Use Software Update for your Mac software. For other software, it's safer to get updates from the developer's site or from the menu item "Check for updates", rather than installing from any notification window that pops up while you're surfing the web.

That's all you need to do to keep your Mac completely free of any Mac OS X malware that has ever been released into the wild. You don't need any 3rd party software to keep your Mac secure.