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

This documentation is for an older version of CCC. You can find the latest version here.
Last updated on 18. Dezember 2023

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. 

Preliminary troubleshooting of helper tool installation failures


The first troubleshooting step is always "Reboot your Mac". After rebooting, open CCC to see if you are still prompted to load CCC's helper tool.

Toggle the CCC background item

If the problem persists after rebooting:

  1. Quit CCC
  2. Open the System Settings applications
  3. Navigate to General > Login Items
  4. Toggle the switch next to "Carbon Copy Cloner" (On, or if it's already on, toggle it off, then back on).
  5. Open CCC to see if you are still prompted to load CCC's helper tool

Force-load the helper tool via the legacy system interface

If the problem still persists, then you can try forcefully loading CCC's helper tool in case some application used an older macOS interface to disable it. Paste the following into the Terminal application:

sudo launchctl load -w /Library/LaunchDaemons/com.bombich.ccchelper.plist

Press the Return key, then authenticate when prompted, then try again to open CCC and save/run a backup task.

Advanced troubleshooting when more serious system problems are present

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

If the problem persists after trying the steps above, 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.

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