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.

Related Forum: macOS Catalina

Top Rated Comments

weup togo Avatar
35 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
35 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
35 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
35 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
35 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
35 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)

Popular Stories

dewey airtag

Report Highlights Danger of Using AirTags for Tracking Dogs

Monday January 30, 2023 1:45 pm PST by
AirTags may be a convenient way for tracking dogs that might get off leash or otherwise lost, but there are dangers associated with the practice, as outlined by a report from The Wall Street Journal. At 1.26 inches in diameter, AirTags are able to fit easily on a dog's collar, but that size also makes the tracking devices small enough to swallow, at least for a medium to large-sized dog, and ...
Multi Display CarPlay 1

Apple Launching All-New CarPlay Experience Later This Year With These 5 Features

Sunday January 29, 2023 10:15 am PST by
In June 2022, Apple previewed the next generation of CarPlay, promising deeper integration with vehicle functions like A/C and FM radio, support for multiple displays across the dashboard, personalization options, and more. Apple says the first vehicles with support for the next-generation CarPlay experience will be announced in late 2023, with committed automakers including Acura, Audi,...
General iOS 16 Feature Yellow

Five New iOS Features Coming to Your iPhone Later This Year

Tuesday January 31, 2023 11:58 am PST by
Apple has previously announced several upcoming iOS features that are expected to be added to the iPhone this year. Some of the features could be introduced with iOS 16.4, which should enter beta testing soon, while others will arrive later in the year. Below, we have recapped five new iOS features that are expected to launch in 2023, such as an Apple Pay Later financing option for purchases ...
maxresdefault

Kuo: Apple to Release Foldable iPad With Carbon Fiber Kickstand in 2024

Monday January 30, 2023 12:55 am PST by
Apple will launch a foldable iPad with a carbon fiber kickstand sometime next year, according to analyst Ming-Chi Kuo. Subscribe to the MacRumors YouTube channel for more videos. In a series of tweets, Kuo said he expects an "all-new design foldable iPad" to be the next big product launch in the iPad lineup, with no other major iPad releases in the next nine to 12 months. The analyst said he...
Apple Silicon Teal Feature

The Next Big Apple Silicon Device May Not Be a Mac or iPad

Wednesday February 1, 2023 3:57 am PST by
Apple's next device with an Apple silicon chip may not be a Mac or an iPad, but rather an advanced external display, according to recent reports. The display, which is rumored to arrive this year, is expected to sit somewhere between the $1,599 Studio Display and the $4,999 Pro Display XDR – but more exact information about the device's positioning and price point is as yet unknown. While ...
MKBHD HomePod 2 White Ring Stain

New HomePod Can Still Stain Some Wooden Surfaces

Tuesday January 31, 2023 8:29 am PST by
When the original HomePod launched in 2018, it was discovered that the speaker can leave white rings on some wooden surfaces. Now, well-known YouTuber Marques Brownlee has confirmed that the issue persists to a lesser extent with the new HomePod. In a side-by-side test, he showed that the white second-generation HomePod left a white ring on the wooden surface that he placed the speaker on,...
tim cook data privacy day

Apple Violated U.S. Labor Laws With Anti-Leak Email

Monday January 30, 2023 3:43 pm PST by
Apple violated United States labor laws when it sent out an email warning employees about leaking confidential information about the company, the National Labor Relations Board (NLRB) said today in a ruling shared by Bloomberg. Rules that Apple has established around leaks "tend to interfere with, restrain or coerce employees" from the exercise of their rights under the National Labor...