An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
Disk Permissions
#28265 03/01/14 10:32 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
After repairing disk permissions three times in immediate succession, there is still a long list of repaired items when it's finished, most beginning with "ACL found but not expected," with many of these in iTunes.

Any ideas on what's happening? I was expecting an empty box when all were repaired.

I have heard it said the Disk Permissions is useless. Yes? No?


Re: Disk Permissions
HappyDog #28266 03/01/14 11:54 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
Originally Posted By: HappyDog
After repairing disk permissions three times in immediate succession, there is still a long list of repaired items when it's finished, most beginning with "ACL found but not expected," with many of these in iTunes.

Any ideas on what's happening? I was expecting an empty box when all were repaired.

I have heard it said the Disk Permissions is useless. Yes? No?



Yes! Repairing disk permissions is useless. It's a holdover from the days when people would install OS X just to dip their toes into, but would run back to the comforting familiarity of MacOS 9.x (or earlier) to do "real" work. MacOS had absolutely no concept of UNIX permissions, would ignore any permissions that OS X had set on a file, and would erase permissions from any file it created. DURP (Disk Utility: Repair Permissions) was never anything more than a clumsy attempt to repair at least some of the damage that MacOS would do to an OS X installation.

It has not gotten significantly less clumsy over the years. What little reason it had for existing in the first place is ancient history.

One clumsiness it has always exhibited is that it thinks the "correct" permissions are those listed in the compressed archive from which an installer package extracts the files. A compressed archive cannot specify an ACL; there's no provision for that in the file format. Instead, the package includes post-installation scripts (also extracted from the compressed archive) that run after the archive is expanded, and can do anything a shell script can do. In particular, a post-installation script can apply ACLs to the newly installed files (or even to files/folders that had previously been installed from other packages).

Those ACLs belong there, but since they weren't mentioned in the compressed archive itself, DURP thinks they're erroneous. It complains about them, but doesn't know how to remove them, so it leaves them in place where they can be complained about on the next run.


You can save yourself a fair amount of wasted computer time, and a great deal of mental aggravation, if you just stop running DURP. It is a complete and utter waste of time. The "errors" it reports are not errors. The "fixes" it claims to apply are unnecessary, often incorrect, and rarely actually applied.

Re: Disk Permissions
ganbustein #28267 03/02/14 12:28 AM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
I occasionally edit /private/etc/hosts (to add the URLs of Websites I want to block) by drag and drop (with authentication).

That results in the file's permissions being changed from

system      Read & Write
wheel        Read only
everyone   Read only

to

artie          Read & Write
everyone   Read only

How important, if at all, is it for me to repair permissions to correct that?

Thanks.

Edit: I've never noticed any ill effects from the changed perms.

Last edited by artie505; 03/02/14 01:05 AM.

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Disk Permissions
artie505 #28273 03/02/14 12:38 PM
Joined: Aug 2009
cyn Offline
Administrator
Offline
Administrator

Joined: Aug 2009
Artie, please start a new thread instead of hijacking someone else's with your question.


FineTunedMac Forums Admin
Re: Disk Permissions
ganbustein #28274 03/02/14 03:31 PM
Joined: Aug 2009
Likes: 4
Offline

Joined: Aug 2009
Likes: 4
ganbustein:

Thanks for clearing up what seems to be a perpetual concern re disk permission "repairs".

Perhaps Apple's article titled "Mac OS X: Disk Utility's Repair Disk Permissions messages that you can safely ignored" (Article TS1448 and probably many others) should be replaced by the explanation in your response. It certainly would put the proper point on the issue and save innumerable queries (as it would have mine many moons ago).

Reminder: OnyX for Mac is a good maintenance tool alternative.

Last edited by grelber; 03/02/14 08:38 PM. Reason: OnyX reference
Re: Disk Permissions
cyn #28282 03/03/14 08:08 AM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
I think my post belongs in this thread, because it is a direct response to both HappyDog's question

Quote:
I have heard it said the Disk Permissions is useless. Yes? No?

and ganbustein's response

Quote:
You can save yourself a fair amount of wasted computer time, and a great deal of mental aggravation, if you just stop running DURP. It is a complete and utter waste of time. The "errors" it reports are not errors. The "fixes" it claims to apply are unnecessary, often incorrect, and rarely actually applied.

On the one hand, my question is rhetorical, because I've spent so much time running uneventfully with the wrong permissions that I'm no more than mildly curious about its answer, but on the other hand, it makes the point that stuff can and does happen, and suggests that an occasional running of DURP may not be a total waste of time.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Disk Permissions
ganbustein #28289 03/03/14 06:26 PM
Joined: Aug 2009
Likes: 8
Offline

Joined: Aug 2009
Likes: 8
Originally Posted By: ganbustein
You can save yourself a fair amount of wasted computer time, and a great deal of mental aggravation, if you just stop running DURP. It is a complete and utter waste of time. The "errors" it reports are not errors. The "fixes" it claims to apply are unnecessary, often incorrect, and rarely actually applied.


That's a pretty strong and definite statement. Does that mean that all those testimonials of other problems that have been corrected by repairing permissions are just flukey coincidences?

I myself may have experienced some of those coincidences. smirk


On a Mac since 1984.
Currently: 24" M1 iMac, M2 Pro Mac mini with 27" BenQ monitor, M2 Macbook Air, MacOS 14.x; iPhones, iPods (yes, still) and iPads.
Re: Disk Permissions
Ira L #28301 03/04/14 07:34 AM
Joined: Aug 2009
Offline

Joined: Aug 2009
Originally Posted By: Ira L
That's a pretty strong and definite statement. Does that mean that all those testimonials of other problems that have been corrected by repairing permissions are just flukey coincidences?

The placebo effect is well documented and widely observed. Doing pretty much anything that you think will cause an improvement, will. At least apparently.

DURP is often accompanied by a restart, or maybe even a simple logout/login. Unlike DURP, simply restarting your computer actually can clear up some very baffling symptoms. But if you do both, any improvement will be attributed to DURP, because that feels like you're actually doing something. The restart, which should get the credit, feels like a do-nothing step.

Re: Disk Permissions
ganbustein #28304 03/04/14 07:54 AM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
On-the-mark observation about restarting!

On any number of several occasions I've found myself stymied in troubleshooting efforts because steps I've taken could be implemented only by restarting or logging out/in, either of which would have compromised my results...an infuriating catch-22.

Last edited by artie505; 03/04/14 08:12 AM. Reason: Reality check

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Disk Permissions
ganbustein #28309 03/04/14 05:41 PM
Joined: Aug 2009
Likes: 8
Offline

Joined: Aug 2009
Likes: 8
Originally Posted By: ganbustein
Originally Posted By: Ira L
That's a pretty strong and definite statement. Does that mean that all those testimonials of other problems that have been corrected by repairing permissions are just flukey coincidences?

The placebo effect is well documented and widely observed. Doing pretty much anything that you think will cause an improvement, will. At least apparently.

DURP is often accompanied by a restart, or maybe even a simple logout/login. Unlike DURP, simply restarting your computer actually can clear up some very baffling symptoms. But if you do both, any improvement will be attributed to DURP, because that feels like you're actually doing something. The restart, which should get the credit, feels like a do-nothing step.


I will grant you the benefits of a restart, but repairing permissions in and of itself does not come with or require a restart. Yes, some suggestions may be to repair permissions, followed by a restart, but again, by itself DURP does not do a restart. So again, has repairing permissions made a difference?

As one who has worked with the placebo effect, I know and understand them. For me, what you say about the placebo would be more convincing if the computer itself held the belief. We are not there—yet!


On a Mac since 1984.
Currently: 24" M1 iMac, M2 Pro Mac mini with 27" BenQ monitor, M2 Macbook Air, MacOS 14.x; iPhones, iPods (yes, still) and iPads.
Re: Disk Permissions
Ira L #28416 03/15/14 10:03 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
Thanks all for the responses. I'd forgotten to 'watch' this topic so got no email notifications, thus my tardiness here.

Not running Disk Permissions will save me some time when I do my SuperDuper backups.


Moderated by  alternaut, dkmarsh, joemikeb 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.031s Queries: 36 (0.023s) Memory: 0.6266 MB (Peak: 0.7257 MB) Data Comp: Zlib Server Time: 2024-03-29 09:14:20 UTC
Valid HTML 5 and Valid CSS