System problems can lead to a failure to install CCC's helper tool


Configuration files for privileged helper tools are placed in the /Library/LaunchDaemons folder on your startup disk. CCC never touches this folder directly, rather it uses the macOS "Service Management" service to install and load its helper tool configuration. If the permissions or ownership of this folder are incorrect, however, the Service Management daemon (smd) will fail to install the helper tool configuration, and this service offers no recourse. Often the helper tool installation will fail with a nondescript error, e.g. "CFErrorDomainLaunchd error 2". In most cases, reinstalling macOS does not repair the affected system folders. We have reported this system problem to Apple (FB11188842) and we are currently waiting for a response, but there are a handful of options that you can leverage to resolve this permissions problem. 

Troubleshooting helper tool installation failures

The first troubleshooting step is always "Reboot your Mac". If the problem persists after rebooting, then the next troubleshooting step is to remove the affected system folders and recreate them with the correct ownership and permissions. To avoid exposing yourself to potential security vulnerabilities, it is imperative that you remove the content of these folders rather than simply correcting the ownership and permissions. Make a note of any applications listed in these folders – those applications should later be re-opened so they have an opportunity to reinstall their helper tools.

Remove the contents of the affected folders, then correct their ownership and permissions

Paste the following into the Terminal one line at a time. Press the Return key at the end of each line, authenticate when prompted:

cd /Library
sudo rm LaunchDaemons/*
sudo rm PrivilegedHelperTools/*
sudo chown root:wheel LaunchDaemons
sudo chmod 755 LaunchDaemons
sudo chown root:wheel PrivilegedHelperTools
sudo chmod 1755 PrivilegedHelperTools

If any of these commands produces an "Operation not permitted" error, or if you are still unable to save a task in CCC, then proceed to the next section.

Replace the folders via Recovery Mode

If macOS security and privacy restrictions prevent you from correcting the issue while booted from your Mac's production startup disk, you can perform the tasks in the Terminal application while your Mac is booted in Recovery mode.

  1. Intel Macs: Hold down Command+R while rebooting. Apple Silicon Macs: Shut down, hold down the Power button until the startup options appear, then select Options.
  2. Choose Terminal from the Utilities menu in the menubar.
  3. Type the following into the Terminal one line at a time, pressing the Return key at the end of each line:

cd "/Volumes/Macintosh HD/Library"
rm -rf LaunchDaemons
rm -rf PrivilegedHelperTools
mkdir LaunchDaemons
chown root:wheel LaunchDaemons
chmod 755 LaunchDaemons
mkdir PrivilegedHelperTools
chown root:wheel PrivilegedHelperTools
chmod 1755 PrivilegedHelperTools

Note: If your production startup disk's name is not "Macintosh HD", substitute the correct name in the first line above.

After you have completed those steps, reboot your Mac, open CCC, and try again to save or run a backup task.

Related Documentation

¿Tiene más preguntas? Enviar una solicitud