image
image
Ticket Options
Question Details
TICKET ARCHIVE -> Disk Utility / Repair permissions?
qwest4zen - May 8, 2006 - 12:40 pm
image
image
How often should repair permissions be run, and is there a way to Automate it?

Thanks.
bobw - May 8, 2006 - 1:15 pm
image
image
Hi qwest4zen

If you have problems at any time with your machine, a first step would be to repair permissions. Repairing Permissions only looks at Apple.pkg files, or any .pkg files that are in the Receipts folder, so it doesn't repair all permissions.

No need to do it on a regular basis. I do it after installing any major update.

You can use Cocktail to schedule all maintenance tasks;

http://www.maintain.se/cocktail/index.html

bobw
http://www.macosx.com
qwest4zen - May 8, 2006 - 2:26 pm
image
image
How do you automate repair permissions?
bobw - May 8, 2006 - 2:44 pm
image
image
You have to use a program like Cocktail to automate it. No way to have it done another way. With Cocktail, you can schedule automatically.

bobw
http://www.macosx.com
qwest4zen - May 8, 2006 - 6:07 pm
image
image
Just trying to confirm, I thought I had read somewhere that it can be automated in the terminal...?
bobw - May 9, 2006 - 11:44 am
image
image
If you want to do in Terminal with the Cron scripts, read this;

http://www.insanityflows.net/archive...che_and_Update

bobw
http://www.macosx.com
bobw - May 9, 2006 - 2:08 pm
image
image
Ok, you can do it in Terminal with a Script.


Open the AppleScript Editor in the AppleScript folder in your Application folder.

Paste this in -

do shell script "sudo diskutil repairPermissions /" password "*******" with administrator privileges


Change the ***** to your password.

Save as an Application with a name like RepairPermissions, to wherever you want to keep it.

Open the System Preferences>Accounts. Click on the Stratup Items tab and drag the script to that pane. It will now run automatically anytime you start the machine.

bobw
http://www.macosx.com

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0