APFS Bug in macOS 10.15.5 Catalina Impacts the Creation of Bootable Backups

An Apple File System bug has been discovered in macOS 10.15.5 Catalina that can prevent users from making a bootable clone of their system drive, according to the creator of Carbon Copy Cloner.

macos volumes icones
In a blog post on Wednesday, software developer Mike Bombich explained that the CCC team had uncovered the issue in the Apple File System, or APFS, when attempting to create a bootable backup in a beta version of macOS 10.15.5.

According to Bombich, the bug prevents CCC from using its own file copier to establish an initial bootable backup of a macOS Catalina System volume. In technical terms:

The chflags() system call can no longer set the SF_FIRMLINK flag on a folder on an APFS volume. Rather than fail with an error code that we would have detected, it fails silently – it exits with a success exit status, but silently fails to set the special flag. That's a bug in the APFS filesystem implementation of chflags – if a system call doesn't do what you ask it to do, it's supposed to return an error code, not success.

We don't need to set many of these flags, nor set them frequently – just on the first backup of the macOS system volume. It happens to be essential to the functionality of an APFS volume group, though, so the failure to set these flags means that new full-system backups created on 10.15.5 and later won't be bootable, and it will appear as if none of your data is on the destination (to be clear, though, all of the data is backed up). Kind of the opposite of what we're trying to do here. It's hard to find kind words to express my feelings towards Apple right now.

Suffice it to say, though, I'm extremely disappointed that Apple would introduce this kind of bug in a dot-release OS update. We've seen 5 major updates to Catalina now, we should expect to see higher quality than this from an operating system.

On a positive note, existing backups created in macOS 10.15.4 and earlier are unaffected, the bug has no effect on CCC's ability to preserve data, nor does it affect the integrity of the filesystems on a startup disk or a backup disk. In short, the impact of this bug is limited to the initial creation of a bootable backup.

Any CCC users who established their backup on a previous version of Catalina already has functional firmlinks on their bootable volume and CCC will continue to update that volume just fine. Meanwhile, users wanting to create a new backup of a 10.15.5 volume to an empty disk should replace their copy of CCC with the CCC 5.1.18 beta, then follow these steps on launching the app.

  1. Click the X button in the Destination selector box to clear the destination selection.
  2. Click on the Destination selector and reselect the destination volume.

CCC will then guide users through the procedure of creating a bootable backup, or a Data-only backup instead. The new functionality uses Apple's Software Restore (ASR) utility.

Bombich has notified Apple of the bug, but he ends his blog post by entertaining the possibility that it is a security fix to prevent third-parties from creating firmlinks. If so, he argues, "this is far worse than a bug," since the system currently reports a success when it should report a failure, not to mention that Apple's lack of documentation on the change is hostile to third-party developers who rely on documented functionality.

Top Rated Comments

weup togo Avatar
12 months ago

so outside of people trying to steal Apple IP to load newer MacOS versions on older systems or create hack-instoshes it must be a very small community of people that's affected by this.
this is so offensively dumb, I can’t find the words
Score: 113 Votes (Like | Disagree)
ikir Avatar
12 months ago

A bug in Catalina? No way! Apple makes both the hardware and the software so things work flawle… ?
Just use Windows for one week and macOS will be perfect again. Believe me I’m an IT and half week I’m working for a big company with everything Microsoft related. HELL ON EARTH.
Score: 40 Votes (Like | Disagree)
bchah Avatar
12 months ago
I don't comment often, but when I do... it is to confirm that if Mike Bombich is saying this is a problem, then this is a problem.
Score: 38 Votes (Like | Disagree)
star-affinity Avatar
12 months ago
A bug in Catalina? No way! Apple makes both the hardware and the software so things work flawle… ?
Score: 36 Votes (Like | Disagree)
superiska123 Avatar
12 months ago

Just use Windows for one week and macOS will be perfect again. Believe me I’m an IT and half week I’m working for a big company with everything Microsoft related. HELL ON EARTH.
This is so accurate! Catalina is a truly terrible release, but I seriously cannot comprehend the praise Microsoft gets for Windows 10... In my experience as a software developer, macOS is still miles ahead of Windows.
Score: 21 Votes (Like | Disagree)
MacDevil7334 Avatar
12 months ago
Wow what is going on with Apple’s software QC process these days? I have never sat out an entire MacOS release before. I thought 10.15.5 would finally be stable enough to get me to upgrade from Mojave. But apparently not. And iOS 13 still has bugs that have been present since the first beta (looking at you, Mail). Something is really broken over at Apple right now.
Score: 18 Votes (Like | Disagree)

Top Stories

samsung experience 1

Samsung's 'iTest' Lets You Try a Galaxy Device on Your iPhone

Thursday April 8, 2021 12:42 pm PDT by
Samsung has launched "iTest," an interactive website experience that's designed to allow iPhone users to test out Android on a Galaxy device, or "sample the other side," as Samsung puts it. Subscribe to the MacRumors YouTube channel for more videos. The iTest website is being advertised in New Zealand, according to a MacRumors reader who came across the feature. Visiting the iTest website on...
sonny 2021 ipad mini pro dummies

Leaked Dummy Units Show iPad Mini 6 With Thick Bezels and Home Button, New iPad Pro Models

Thursday April 8, 2021 2:11 am PDT by
Rumors suggest Apple will release refreshed versions of the iPad mini and iPad Pro models in the first half of this year, potentially as soon as this month, and a new leak today has provided us with a possible preview of what to expect in terms of the devices' overall design and camera prospects. Tech leaker and Apple blogger Sonny Dickson this morning shared images on Twitter showing dummy ...
fake airpods 3

Counterfeit 'AirPods 3' Hit the Market Prior to Official Announcement

Friday April 9, 2021 2:45 am PDT by
Apple is expected to launch the third iteration of AirPods in the third quarter of this year. Rumors and reports suggest the new AirPods will feature an updated design more in line with the AirPods Pro, but lacking in "Pro" features such as active noise cancellation. Despite AirPods 3 not yet being officially announced by Apple, counterfeit products of the unreleased earbuds have already hit ...
iMessage Android featured

Apple's Rationale for Not Bringing iMessage to Android Revealed in Legal Documents

Friday April 9, 2021 2:22 am PDT by
It's no secret that Apple sees iMessage as a big enough selling point to keep the service exclusive to Apple devices, however new court filings submitted by Epic Games in its ongoing lawsuit with the company reveal just how Apple executives have rationalized their decision not to develop a version of iMessage for Android. Apple clearly recognizes the power that iMessage has to keep users...
nba tracking prompt orange

Two-Thirds of iPhone Users Expected to Block Ad Tracking

Friday April 9, 2021 7:19 am PDT by
As many as 68 percent of iPhone users are expected to deny advertisers permission to track them thanks to Apple's App Tracking Transparency feature, in what is beginning to look like a significant blow to the advertising industry (via AdWeek). With the launch of iOS 14.5, apps will have to receive explicit user permission before accessing an iPhone's advertising identifier or IDFA, which is...
iPhone 13 Battery Life Feature

DigiTimes: iPhone 13 Pro Models to Feature 120Hz ProMotion Refresh Rate and 15-20% Less Power Consumption

Friday April 9, 2021 12:52 am PDT by
The two premium "Pro" models of the upcoming iPhone 13 lineup will be equipped with a low-power LTPO display, enabling the iPhones to have a 120Hz refresh rate, according to industry sources cited by Taiwanese publication DigiTimes. According to today's paywalled report, Apple suppliers Samsung and LG Display are in the process of converting parts of their production capacity to produce LTPO ...
ehric

iPhone 12 Mini Missing From Top 5 Best Selling Smartphone List of January 2021

Friday April 9, 2021 4:58 am PDT by
According to market data compiled by Counterpoint Research, Apple's smallest iPhone since the 2016 iPhone SE, the iPhone 12 mini, struggled to obtain a spot in the top five list of best-selling smartphones in January of this year. According to the market data, the iPhone 12 mini came in eighth place for the best-selling smartphone worldwide in the first month of the year. However, the iPhone ...
Top Stories 56 Feature

Top Stories: 'Find My' Expansion, iPhone 13 Pro Mockup, Largest-Ever iMac?

Saturday April 10, 2021 6:00 am PDT by
Apple's AirTags may still be nowhere to be seen nearly two years after signs of them were first discovered, but Apple this week launched its Find My network accessory program that will let third-party devices integrate with the Find My app on Apple's platforms to make it easy to keep track of your items. This week also saw fresh rumors about the upcoming "iPhone 13" and new iMacs, while...
fortnite apple featured

Epic's Case Against Apple in Australia Might Be Over

Friday April 9, 2021 12:21 pm PDT by
Epic Games and Apple are involved in a highly public lawsuit in the United States, but Epic has also sued Apple in other countries, including Australia, in an attempt to boost its chances of getting a favorable ruling. Things aren't quite going Epic's way, however, as the justice overseeing the case today decided that he's going to let the two companies battle it out in the United States. ...
Apple TV Ray Light Teal Film

Apple Wants to Draw Subscribers to Apple TV+ With More Feature Films

Friday April 9, 2021 10:27 am PDT by
Apple is ramping up its efforts to produce feature films, according to a new report from The Information. Apple has a limited number of high profile films already, including "Palmer," "Cherry," and "Greyhound," and sees it as a way to draw more people into Apple TV+. Apple has been telling studio executives that it is aiming to do more than 10 to 12 original movies per year for Apple TV+,...