Go Back   The macosxhints Forums > Working with OS X > OS Xperiences



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-11-2002, 08:12 PM   #1
macmath
MVP
 
Join Date: Mar 2002
Location: Elsewhere
Posts: 1,497
Permission repairing, Disk Util., fsck

I have always wondered about why the Permissions Repair utilities can always find something to repair. Well, today I had a lot of grading to do, so I tried an experiment. I started from the Jaguar CD and ran the Disk Utility repair. I then repaired permissions two times in a row. The second time there were far fewer items to repair, but there were some items repaired again. All were about ./usr/share/man/man3/DB.3 and ./usr/share/man/man3/db.3. I then restarted from the CD and repaired permissions again. Again, these same items mentioned above need repair (and were claimed to have been repaired).

I restarted and repaired the disk using the disk utility, and this time there were additional repairs. "Group differs on ., should be 80, group is 20. Owners and Group corrected on . Permissions repaired on ." It turned out that if the Disk Utility were not used to repair the disk first, then the Owners and Groups repairs to '.' were not necessary, but if the Disk Utility were used to repair the disk first, the repairs to '.' were necessary and carried out (I did one more trial apiece.). Every time, however, the repairs to ./usr/share/man/man3/DB.3 et al were necessary.

I remembered all the discussion of whether or not fsck and the Disk Utility did the same thing, so after the last permissions repairs, I restarted in single user mode and ran fsck -y, together with the additional stuff at the end to ensure that the changes (none were reported) were kept. Restarting with the Jaguar CD and repairing permissions still showed repairs to the permissions of ./usr/share/man/man3/DB.3 et al, but they did *not* show that permissions repairs to '.' were necessary.

Summary: I did not get all my grading done, but in the mean time, I think I noticed that (a) the permissions on an item or two cannot be repaired, (b) Disk Utility seems to change the Group for . from 80 to 20, and (c) fsck does not.

Sorry about the long-winded report. Especially since someone will be able to explain why this is all very natural. : ) I used to be quite good at OS Y, 6<=Y<=9, but I often find myself in over my head for Y>=10.
macmath is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.