|
|
#1 | |
|
Repair disk permissions with applescript
Hello! I want to write an applescript to repair the disk permissions each 2 months. I'll save it as an app and open it with iCal, but I need someone to check if my code is ok so that I don't screw up. Thanks!
![]() Quote:
__________________
MacBook White 4,1 2010 model
|
||
|
|
0
|
|
|
#2 |
|
Unless you are having a specific permissions issue, there is no need to repair disk permissions - especially since it does nothing in a user account or for items that were not installed by an Apple installer utility (e.g. dragged from a disk image).
__________________
MacBook Pro / OS X Mountain Lion (10.8.3) / Xcode 4.6 / [various (much) older stuff keeping dust off the shelves] |
|
|
|
0
|
|
|
#3 |
|
I am constantly improving a theme (hence changing files in /System/Library/PrivateFrameworks/CoreUI) and want to make sure everything's all right...
I don't want to see the prohibitory sign on boot again- once was enough
__________________
MacBook White 4,1 2010 model
|
|
|
|
0
|
|
|
#4 | |
|
Quote:
why not use bash script. Here mine I have on my Flash Utility Boot Disk. I named it .drepair and placed it in $HOME Code:
#!/bin/bash echo "Enter Password" # Ask for the administrator password upfront sudo v # Repair Disk Permissions diskutil repairPermissions / # Update share Cache sudo update_dyld_shared_cache -force #reboot sudo shutdown -r +.10 |
||
|
|
1
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 08:27 AM.








Linear Mode
