Cannot access backup agent logs on Mac

Overview

This article describes a known issue which prevents you from accessing Code42 agent log files on computers running Mac OS.

To correct this problem, follow the steps below to use the chmod Terminal command to change the permissions of the Code42 agent log directory.

Affects

macOS devices with the Code42 agent installed for everyone. (Per-user installations are not affected.)

Considerations

You must have administrative access to your machine to use the chmod command. Learn more about enabling administrative access on Mac OS.

Diagnosing

Verify the problem by viewing the permissions on the Code42 agent log directory:

  1. Go to Applications > Utilities.
  2. Open Terminal.app
    The Terminal opens.
  3. Enter this command:cd /Library/Logs/CrashPLan
    The Terminal attempts to open the Code42 agent's log directory.
  4. If the terminal reports Permission denied, follow the recommended solution below.

For example:

prompt$ cd /Library/Logs/CrashPlan
-bash: cd: /Library/Logs/CrashPlan: Permission denied

Recommended solution

Resolve the issue by changing permissions for the /Library/Logs/CrashPlan directory:

  1. From the Finder, open Applications > Utilities > Terminal.
  2. Enter this command: sudo chmod 755 /Library/Logs/CrashPlan
  3. Enter your password when prompted.
    The password doesn't display as you enter it.
  4. Verify that you have changed the directory's permissions by entering this command:cd /Library/Logs/CrashPlan
  5. The Terminal opens the Code42 agent's log directory.
  6. Enter this command: pwd
    The Terminal confirms that /Library/Logs/CrashPlan is open.

Here's what the series of commands and replies look like all together:

prompt$ cd /Library/Logs/CrashPlan
-bash: cd: /Library/Logs/CrashPlan: Permission denied
prompt$ sudo chmod 755 /Library/Logs/CrashPlan
Password: ***
prompt$ cd /Library/Logs/CrashPlan
prompt$ pwd
/Library/Logs/CrashPlan