• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Run DiskUtility/ReparDiskPermissions daily
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run DiskUtility/ReparDiskPermissions daily


  • Subject: Re: Run DiskUtility/ReparDiskPermissions daily
  • From: Olivier Merenda <email@hidden>
  • Date: Wed, 08 Feb 2012 21:39:50 +0100

Craig, Adrienne, Thanks.

sudo diskutil repairpermissions 'Macintosh HD' command in Terminal starts repair permissions but ask for password. How do I include the password in the command line above? then How do I get this command line to execute daily at midnight?

PS process is still at 0% and counting...after 5 minutes??

Olivier

On Wed, Feb 8, 2012 at 8:52 PM, Adrienne Davis <email@hidden> wrote:
Olivier:

The syntax you want is:

sudo diskutil repairpermissions <volume identifier>

So on my machine, the disk is called turing.  So I use:

sudo diskutil repairpermissions turing

That works.

Cheers
Adrienne



******************************************************************************************************
The Universe is not required to be in perfect harmony with human ambitions. (Carl Sagan)

On Feb 08, 2012, at 10:39 AM, Olivier Merenda <email@hidden> wrote:

Craig,

it says "Ownership of the affected disk is required" eventhough I am the owner.
I tried "sudo diskutil repairpermissions" and its asks for a password. Gave it the admin password, but still same message.

Suggestions welcomed.
Oliviet

On Wed, Feb 8, 2012 at 7:16 PM, Craig D. Sutherland <email@hidden> wrote:
Oliver-

the command diskutil run via a shell script should do it. The -repairpermissions parameter will get you close. Run the command man diskutil in Terminal to explore the various ways the command works.

Craig Sutherland
On Feb 8, 2012, at 11:39 AM, Olivier Merenda wrote:

> Hi,
> do you know a workflow / script that would run Repair Disk Permissions daily after closing all apps, as a maintenance process?
> Thanks
> Olivier
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Automator-users mailing list      (email@hidden)
>
> This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Run DiskUtility/ReparDiskPermissions daily (From: Olivier Merenda <email@hidden>)
 >Re: Run DiskUtility/ReparDiskPermissions daily (From: Adrienne Davis <email@hidden>)

  • Prev by Date: Re: unsub
  • Next by Date: Re: Automator-users Digest, Vol 73, Issue 7
  • Previous by thread: Re: Run DiskUtility/ReparDiskPermissions daily
  • Next by thread: Re: Run DiskUtility/ReparDiskPermissions daily
  • Index(es):
    • Date
    • Thread