Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > repairng of permissions "not permitted" - why?

repairng of permissions "not permitted" - why?
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Tokyo
Status: Offline
Reply With Quote
Jul 16, 2003, 10:01 PM
 
I'm trying to repair permissions on a buggy crash-prone MDD G4 running 10.2 in my office, and once started, the repair flies through a huge list of permissions that need repairing, yet each one goes unchanged with the message "operation not permited".

Why is this, and how can I get around it?

I'm pretty sure it has a stick of slightly dodgy RAM in it, though that doesn't seem to cause a lot of problems, and that wouldn't be affecting the permissions, would it?
     
Senior User
Join Date: Mar 2002
Location: CT
Status: Offline
Reply With Quote
Jul 16, 2003, 10:16 PM
 
Can you say what files it is trying to correct? Are they personal files or system files?
     
Junior Member
Join Date: Oct 2001
Location: New York City
Status: Offline
Reply With Quote
Jul 16, 2003, 11:57 PM
 
Had this happen to me once a few months ago....I could not even enable root and repair permissions as the root user...in desperation II used carbon copy cloner to copy my drive to a firewire drive (setting it to repair permissions prior to copying)...It worked...I then copied the data back using CCC...and voila, my permissions were fixed.
     
Addicted to MacNN
Join Date: Sep 2001
Location: Toronto
Status: Offline
Reply With Quote
Jul 17, 2003, 12:44 AM
 
Go to versiontracker and do a search for an app called 'cocktail'.

It might be able to repair your permissions even if the build in system doesn't.
     
Dedicated MacNNer
Join Date: May 2002
Location: Tokyo
Status: Offline
Reply With Quote
Jul 17, 2003, 04:48 AM
 
Originally posted by Chris Grande:
Can you say what files it is trying to correct? Are they personal files or system files?
Well I just rtan it briefly again and these are the first few lines:

Permissions differ on ./Applications/Utilities/Disk Utility.app/Contents/Info.plist, should be -rw-rw-r-- , they are -rwxrwxrwx
Owner and group not corrected on ./Applications/Utilities/Disk Utility.app/Contents/Info.plist, reason Operation not permitted
Permissions not corrected on ./Applications/Utilities/Disk Utility.app/Contents/Info.plist, reason Operation not permitted
Permissions differ on ./Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility, should be -rwsrwxr-x , they are -rwxrwxrwx
Owner and group not corrected on ./Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility, reason Operation not permitted

In the first minute or so it ran for, all the hundreds of lines referred to Disk Utility.app...
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Jul 17, 2003, 05:46 AM
 
You can get that error if the files are locked.

Check in the Finder whether they appear to be locked, and use the the SetFile ( I think?) tool from the Developer Tools to unlock them.
     
Senior User
Join Date: May 2002
Location: Austria
Status: Offline
Reply With Quote
Jul 17, 2003, 06:18 AM
 
You are trying to repair the permissions with "Disk Utility", but if you look at the output, its own permissions are incorrect, so that it has no longer the authorisation to correct permissions.

It's easy to fix that. Open a Terminal and enter:

sudo chmod a+s "/Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility"

it will prompt for your administrator password.

Then enter another command:

sudo chown root "/Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility"

when these commands have run, start Disk Utility again, and this time, it will fix the permissions.
     
Dedicated MacNNer
Join Date: May 2002
Location: Tokyo
Status: Offline
Reply With Quote
Jul 17, 2003, 08:24 AM
 
Thanks Tsilou B - that seems to have done the trick. It's repairing a bucketload of permissions now. Fingers crossed this should sort the freezes out.
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Jul 17, 2003, 09:01 AM
 
Originally posted by superblue:
Thanks Tsilou B - that seems to have done the trick. It's repairing a bucketload of permissions now. Fingers crossed this should sort the freezes out.
Another option is just to repair the permissions from the command line:

Code:
sudo diskutil repairPermissions /
By the way, if you do have a "stick of dodgy RAM" you can expect all kinds of odd problems - from filesystem corruption to instability to Word running correctly (a real anomaly). I would replace that ASAP, or at least remove it.
     
Forum Regular
Join Date: Jun 2001
Status: Offline
Reply With Quote
Jul 17, 2003, 09:11 AM
 
I extend my thanks also. I have been unable to correct permissions for months and this has done the trick. My system has been unaffected by the permission problem, but still it was worrying me. I had posted the question here and on various other forums, but no one else helped. Thanks!
     
Dedicated MacNNer
Join Date: May 2002
Location: Tokyo
Status: Offline
Reply With Quote
Jul 18, 2003, 11:29 PM
 
Originally posted by absmiths:
By the way, if you do have a "stick of dodgy RAM" you can expect all kinds of odd problems - from filesystem corruption to instability to Word running correctly (a real anomaly). I would replace that ASAP, or at least remove it.
Yes, although the permissions were fixed, I came in this morning, woke the computer and was greeted by a kernel panic screen, so I certainly think removing the RAM is the next step.
     
Mac Enthusiast
Join Date: Oct 2001
Location: Chicago, IL
Status: Offline
Reply With Quote
Oct 10, 2003, 10:24 AM
 
Big up, thanks.

BD
     
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Oct 10, 2003, 10:38 AM
 
There's a little program out since day before yesterday called "Fix Disk Utility Permissions" or some such like that will do the same as those lines of code posted up above.

get it at http://www.macupdate.com

-s*
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:09 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2