Posted on 10-05-2009 04:37 AM
Our network consultant suggested that we run Disk Permission Repair
on all of our Mac Books to improve performance. Does anyone have a
script that we could run that would accomplish this? Thanks.
Tom Queck
New Kensington Arnold School District
New Kensington, PA
Posted on 10-05-2009 05:05 AM
Just create a policy that can do it to run offline perhaps.
On the advanced tab there is an option for fix permissions.
Or that same thing can be called with remote if you wanted to control when
it happened.
Or if you have a single partition system and really wanted a script:
/usr/sbin/diskutil repairPermissions disk0s2
Or by volume name:
/usr/sbin/diskutil repairPermissions "/Volumes/Macintosh HD"
Craig E
Posted on 10-05-2009 06:24 AM
Running repair permissions just resets the permissions to what Apple thinks is best. I doubt it would give you performance increases. However, if this is something you really want to do there are several ways:
1) write a script using /usr/sbin/diskutil to repair your disk permisisons
2) use the built in jamf binary, /usr/sbin/jamf fixPermissions
3) Log into your JSS and create a new policy. Under the advanced tab check the box that says "repair permissions."
The last method will probably be the easiest.