Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / General / General / May 2008



Tip: Looking for answers? Try searching our database.

Odd messages in Disk Utility

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim McNamara - 14 May 2008 04:06 GMT
When repairing permissions after a system freeze today (which only
happens when running NeoOffice on 10.4.11), I noticed that the only
messages in Disk Utility were peculiarly mutually contradictory:

May 13 11:45:33: Disk Utility started.

Repairing permissions for ³Rothar²
Determining correct file permissions.
Group differs on ./Private, should be 80, group is 0
Permissions differ on ./Private, should be drwxrwxr-x , they are
drwxr-xr-x
Owner and group corrected on ./Private
Permissions corrected on ./Private
Group differs on ./private, should be 0, group is 80
Permissions differ on ./private, should be drwxr-xr-x , they are
drwxrwxr-x
Owner and group corrected on ./private
Permissions corrected on ./private

Permissions repair complete

This looks odd and occurs every time I repair permissions.  Is this
normal or is there something peculiar going on here.
Jolly Roger - 14 May 2008 06:06 GMT
> When repairing permissions after a system freeze today (which only
> happens when running NeoOffice on 10.4.11), I noticed that the only
[quoted text clipped - 19 lines]
> This looks odd and occurs every time I repair permissions.  Is this
> normal or is there something peculiar going on here.

The log shows that Repair Permissions first read a receipt that
indicates /Private (no idea why the first is capitalized) should be
owned by group "admin" (80) and should allow group write access. The
folder is not owned by group "admin" and does not allow group write
access, so it corrects that. Then, Repair Permissions read another
receipt that indicates /private should be owned by group "wheel" (0) and
should *not* allow group write access, so it correct that. This will
continue each time you run Repair Permissions until the offending
receipt(s) are removed or changed.

It's important to understand how repair permissions works. It reads
everything in /Library/Receipts to find out which files and folders it
should examine. Each receipt in that folder describes the ownership and
permissions the files and folders listed in that receipt should have. If
there happen to be multiple receipts that list /private, and the
ownership and permissions differ between those two receipts, the Repair
Permissions function will encounter the first receipt, change the
ownership and permissions to reflect that receipt, then encounter the
second receipt and change the ownership and permissions to match the
second receipt.

Repair Permissions isn't the magical tool most Mac users think it is.
It's a rather brain-dead tool that is meant to repair ownership and
permissions of specific sets of files, and only those files listed in
the receipts of specific software in the /Library/Receipts folder. And,
as you can see, the tool has a rather serious flaw, in that it does not
know how to resolve the case where multiple receipts list the same file
or folder with differing ownership and permissions. I wish more people
understood this - we probably wouldn't find so many Mac users running
Repair Permissions at the drop of the hat or on a regular schedule as we
see so often.  ; )

IMO, if you are not experiencing problems with a piece of software
listed in the /Library/Receipts folder, there's no reason to run Repair
Permissions.

If you want to fix this problem on your machine, you'll need to figure
out which receipt in /Library/Receipts mentions /Private, and which
receipt mentions /private, then decide whether you believe /private
should be owned by group "wheel" or "admin", and whether group should
have write access, and finally change the receipts appropriately (or
delete the offending receipt).

I can tell you on my 10.5 install, /private is owned by group "wheel"
and does *not* give group write access:

drwxr-xr-x@   7 root   wheel   238B Nov  6  2007 private

Signature

Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR

Tim McNamara - 15 May 2008 04:45 GMT
> If you want to fix this problem on your machine, you'll need to
> figure out which receipt in /Library/Receipts mentions /Private, and
> which receipt mentions /private, then decide whether you believe
> /private should be owned by group "wheel" or "admin", and whether
> group should have write access, and finally change the receipts
> appropriately (or delete the offending receipt).

Thanks!  Now, how the heck does one do that?

I did go in and delete a bunch of old receipts for software I no longer
have on the computer (developer stuff, CHUD, Zinio, World Book, Safari
betas, etc.).  No point in keeping that stuff!

Now, thinking about it, the only piece of software with which I am
having trouble is NeoOffice, which has locked my computer up hard three
times in the past three weeks.  I deleted the receipts for old versions
of this, too.

End result- the weird report does not occur when running "repair
permissions."  Not sure which receipt it was, though.
Jolly Roger - 15 May 2008 05:10 GMT
> > If you want to fix this problem on your machine, you'll need to
> > figure out which receipt in /Library/Receipts mentions /Private, and
[quoted text clipped - 4 lines]
>
> Thanks!  Now, how the heck does one do that?

Good question.  I imagine you'd have to dig into the BOM files in the
receipts, but don't have specifics.  I took a quick look yesterday, but
had to stop and get some work done.  ; )

> I did go in and delete a bunch of old receipts for software I no longer
> have on the computer (developer stuff, CHUD, Zinio, World Book, Safari
[quoted text clipped - 7 lines]
> End result- the weird report does not occur when running "repair
> permissions."  Not sure which receipt it was, though.

Well at least your immediate problem is solved!  : )

Signature

Note: Please send all responses to the relevant news group. If you
must contact me through e-mail, let me know when you send email to
this address so that your email doesn't get eaten by my SPAM filter.

JR

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.