Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lotones

macrumors regular
Aug 6, 2010
148
193
If anything, you have it backwards. Apple continually improves the "no fuss-no muss" nature of its OS. As for repairing permissions, it is a relatively simple process that would be difficult to improve upon between 2006 and now:

Within the Library folder, there is a folder called Receipts. Each installed software package has a .pkg bundle installed there. Each receipt serves two purposes:
  1. It tells the OS that the software has been installed (and does not need to be reinstalled).
  2. It mirrors the correct file structure and permissions of the installed package.
When you repair permissions, the OS resets the permissions to those of the receipt bundle. There is not much that can be done to improve permissions repair because not much can be done to improve an anvil.

Permissions repair is one of those things that people glommed onto in the early days of MacOS X because they had no better idea what to do to satisfy their placebo fix.

Since Apple added journaling to HFS+, permissions are rarely changed negatively. And by the way, permissions repair is one of the actions taken when the OS is updated or new applications installed.

Thanks for the knowledge. I understand most of that, but I still prefer to think of it as "magic". Something goes wonky, I press the "repair permissions" button and 'poof'... it's fixed! Or not... :rolleyes:

btw, I found this the other night as I was stumbling around the internet:

Want to really Repair Permissions on your Mac? Try this.

Apparently there’s another Repair Permissions tool hidden away in Lion that will actually repair the permission settings on folders and files in your Home folder. I don't know if this is a feature that used to be un-hidden in previous OS versions, or the "much improved" Repair Permissions tool I was told about. But it does appear things are changing/evolving in this area.

----------

Repairing permissions can sometimes cause more problems then good.

How so? Not doubting, but I've heard this said before and I'm curious.
 

Mattie Num Nums

macrumors 68030
Mar 5, 2009
2,834
0
USA
Thanks for the knowledge. I understand most of that, but I still prefer to think of it as "magic". Something goes wonky, I press the "repair permissions" button and 'poof'... it's fixed! Or not... :rolleyes:

btw, I found this the other night as I was stumbling around the internet:

Want to really Repair Permissions on your Mac? Try this.

Apparently there’s another Repair Permissions tool hidden away in Lion that will actually repair the permission settings on folders and files in your Home folder. I don't know if this is a feature that used to be un-hidden in previous OS versions, or the "much improved" Repair Permissions tool I was told about. But it does appear things are changing/evolving in this area.

----------



How so? Not doubting, but I've heard this said before and I'm curious.

It only repairs the permissions of installers with receipts. By just arbitrarily repairing permissions you could be re changing permissions that were purposely changed.
 

MisterMe

macrumors G4
Jul 17, 2002
10,709
69
USA
...

Apparently there’s another Repair Permissions tool hidden away in Lion that will actually repair the permission settings on folders and files in your Home folder. I don't know if this is a feature that used to be un-hidden in previous OS versions, or the "much improved" Repair Permissions tool I was told about. But it does appear things are changing/evolving in this area....
It never ceases to amaze me that people post links to things that they either don't read or don't understand if they do read. If you had read the reader responses that follow the article, then you would know that the home directory repair tool is not new. You would also know that it is an emergency tool for trained technicians. It is not a routine maintenance tool for untrained users.
 

OneMike

macrumors 603
Oct 19, 2005
5,814
1,795
I only repair them, when I have reason to which is at most a 2-3 times per year.
 

Mattie Num Nums

macrumors 68030
Mar 5, 2009
2,834
0
USA
It never ceases to amaze me that people post links to things that they either don't read or don't understand if they do read. If you had read the reader responses that follow the article, then you would know that the home directory repair tool is not new. You would also know that it is an emergency tool for trained technicians. It is not a routine maintenance tool for untrained users.

Exactly. Apps change perms on the fly and just resetting everything could cause havoc on the system.
 

lotones

macrumors regular
Aug 6, 2010
148
193
It never ceases to amaze me that people post links to things that they either don't read or don't understand if they do read. If you had read the reader responses that follow the article, then you would know that the home directory repair tool is not new. You would also know that it is an emergency tool for trained technicians. It is not a routine maintenance tool for untrained users.

So I didn't "read or understand" the article because I didn't read all 27 responses in the comments section? It so happens I was looking for something else when I stumbled across that article. I read the article and moved on. Excuse me for passing on information. And I never claimed it was a "routine maintenance tool".

It never ceases to amaze me that people post snark based on lame assumptions and statements never made.
 

Mattie Num Nums

macrumors 68030
Mar 5, 2009
2,834
0
USA
How so? I'd be interested in learning this as I have not found any information to suggest it has the potential to cause problems?

Certain programs are not excluded from the "Repair Permissions" run so Apples intention of keeping its permissions clean could in fact change permissions that a third party program changed for a reason. The issue is Repairing Permissions is not an end all be all, should not be the first thing done to troubleshoot, and should not be done regularly. It should however be a part of your basic troubleshooting steps.
 

GGJstudios

macrumors Westmere
May 16, 2008
44,545
943
Certain programs are not excluded from the "Repair Permissions" run so Apples intention of keeping its permissions clean could in fact change permissions that a third party program changed for a reason.
From the link I posted earlier:
Are all files affected by Repair Disk Permissions?
No. As you may have inferred from the above description, only those files installed using OS X’s Installer utility and whose installation packages leave behind a proper receipt in /Library/Receipts are affected by the Repair Disk Permissions function. This means that most of the files affected by the Repair Disk Permissions function are system-level files, application files, or system add-ons—not applications installed by drag-and-drop, and not your documents or other user-level files.
And from: About Disk Utility's Repair Disk Permissions feature:

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.
 

MisterMe

macrumors G4
Jul 17, 2002
10,709
69
USA
So I didn't "read or understand" the article because I didn't read all 27 responses in the comments section? It so happens I was looking for something else when I stumbled across that article. I read the article and moved on. Excuse me for passing on information. And I never claimed it was a "routine maintenance tool".

It never ceases to amaze me that people post snark based on lame assumptions and statements never made.
You posted a link to a column on a newspaper's website. The author is a user--more conversant with Mac issues than you--but not more qualified to explain MacOS X than many of the members of this forum. He is not more qualified than the readers who responded to him. The difference between him and them--between him and us--is that he has a job with a newspaper but most of us do not.

Having said that, the readers clarified questions left unanswered by the column. Make no mistake. Nowhere do I say that you are responsible for what the author wrote. You are also not responsible for what the readers wrote. However, you are responsible for what you wrote. When you presented the column as an authority in support of your assertion that permissions repair is an evolving task, you doubled-down on the assertion. To your great regret, you were mistaken. Your regrets could have been avoided if you had taken the time to do additional research before posting.
 

lotones

macrumors regular
Aug 6, 2010
148
193
You posted a link to a column on a newspaper's website. The author is a user--more conversant with Mac issues than you--but not more qualified to explain MacOS X than many of the members of this forum. He is not more qualified than the readers who responded to him. The difference between him and them--between him and us--is that he has a job with a newspaper but most of us do not.

Having said that, the readers clarified questions left unanswered by the column. Make no mistake. Nowhere do I say that you are responsible for what the author wrote. You are also not responsible for what the readers wrote. However, you are responsible for what you wrote. When you presented the column as an authority in support of your assertion that permissions repair is an evolving task, you doubled-down on the assertion. To your great regret, you were mistaken. Your regrets could have been avoided if you had taken the time to do additional research before posting.

a. I offered the link as information I thought was relevant to the conversation. I wasn't asserting any point of view. The part where I wrote "I don't know if this is a feature that used to be un-hidden in previous OS versions, or the "much improved" Repair Permissions tool I was told about.", or the part where I thanked you for the passing along the information of your previous post, might have clued you into that fact if you weren't so ready to snark.

b. I have no "regrets" about my post, nor my possibly mistaken conclusion. I have just as much right to be wrong on the internet as anyone else. And seeing how I had already qualified my alleged "assertion", any "regrets" should be yours. All you had to do is point out the relevant information in the comments section, as per normal civil conversation. The snark was unnecessary and unappreciated. The only "regrets" I may have is the time wasted engaging you in this bemusing conversation.

c. Just because this happened not to be a new feature, that doesn't mean the repair permission feature hasn't evolved since 2006.
 

KnightWRX

macrumors Pentium
Jan 28, 2009
15,046
4
Quebec, Canada
Absolutely, couldn't agree more. :p Why trust a tool that Apple designs for their own operating system that they design as well. Heavens no, the repair permissions tool just might cause the computer to explode. :rolleyes:

Yes, because 3rd party receipt files cannot ever cause any problems because Apple made such a splendid tool right ?

Again, I'll just repair permissions myself with chown/chmod if I discover any permission problems. Frankly, a lot of you need a course on how ACLs work and what they are for.

----------

Apparently there’s another Repair Permissions tool hidden away in Lion that will actually repair the permission settings on folders and files in your Home folder.

Hum.. it's been there since day one in OS X :

Code:
$ id | xargs -n 1 echo | egrep "^uid|^gid" | cut -d \( -f 2 | sed 's/)$//g' | xargs echo | sed 's/\ /:/g' | xargs -I{} echo sudo chown -R {} $HOME

Just copy paste the output of this command and your home folder will be good as new. ;)

(alternatively, you could simply figure out the arguments manually, they aren't hard at all. Simply : your unix user name, :, your unix group and finally your home folder).

Again folks, this is Unix, not magic.

----------

Really? How's that?

What if a Receipt file points to the wrong set of files ? What if permissions were changed on purpose on a set of files to prevent access to a group/user and the receipt file resets them ?

What if the Receipt files were tampered with to open up access to a malicious user ?

List. Endless.
 

tkermit

macrumors 68040
Feb 20, 2004
3,582
2,909
I do it every few days, to keep the list pristine. I have not one permission problem.

Which would probably be the case even if you never repaired permissions (like I do) – No issues here, except for the usual warnings of course.

Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent” has been modified and will not be repaired.
 

isoMorpheus

Guest
Jul 29, 2007
257
0
Which would probably be the case even if you never repaired permissions (like I do) – No issues here, except for the usual warnings of course.

I've caught a few that's sprung up for reasons I'm not sure of and have successfully killed them before they start pilling on top of each other, which tendency is part of my conspiratory worry without any evidence. It does make me feel better about my Macintosh's health.
 

calderone

Cancelled
Aug 28, 2009
3,743
352
I wrote a script that runs it every hour, my Mac runs so good. ZOMG! No permissions problems here! I am super paranoid about my permissions!

Why you tell me I has no permission to do what I wants to this file!? I run

Code:
sudo chown -R myuser /; chmod -R u+rwx /

Computer no tell me I has no permission to do what I wants!!!! I WIN!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.