Installation manual
Repairing File Permissions
Sometimes a client’s system le permissions can be corrupted or changed from their
expected values. In such a case, it may be necessary to manually repair the permissions
on the client. Repairing permissions returns system and library les to their default
settings.
Repairing le permissions requires the use of the Apple Remote Desktop Send UNIX
Command feature, and the command-line tool diskutil. For more information, see
“UNIX Shell Commands” on page 152 . For information about using this tool, see the
diskutil man page.
To repair a computer’s le permissions
1 Select a computer list in the Remote Desktop window.
2 Select one or more computers in the selected computer list.
3 Choose Manage > Send UNIX Command.
4 Type or paste the following UNIX command:
diskutil repairPermissions /
5 Set the user permissions for this command to be sent as the user “root.”
6 Click Send.
Adding Items to the Dock
If you install software on your client computers by dragging and dropping, the le,
folder, or application isn’t immediately added to the user’s Dock. The instructions
provided here are a workaround for clients that aren’t part of a managed client
environment.
Note: Dock management should be done using Workgroup Manager. If you use
Mac OS X Server to manage client settings and preferences, the correct place to
change the Dock is within the management settings of Workgroup Manager.
To add an application or other item to the Dock:
1 Select a computer list in the Remote Desktop window.
2 Select one or more computers in the selected computer list.
3 Choose Manage > Send UNIX Command.
4 Type or paste the following UNIX command (replace /Path_To_Application with
your own path to the desired application, and be sure to include the application le
extension, .app):
defaults write com.apple.dock persistent-apps -array-add
'<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_
CFURLString</key><string>/Path_To_Application</string><key>_
CFURLStringType</key><integer>0</integer></dict></dict></
dict>';killall -HUP Dock
140 Chapter 8 Administering Client Computers