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

Popular Stories

iPhone 16 Pro Sizes Feature

iPhone 16 Launch Is Just One Month Out – Here's Everything We Know

Saturday August 10, 2024 5:00 am PDT by
Apple typically releases its new iPhone series in the fall, and a possible September 10 announcement date has been floated this year, which means we are just one month away from the launch of the iPhone 16. Like the iPhone 15 series, this year's lineup is expected to stick with four models – iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max – although there are plenty of design...
macbook pro bb cyber

Apple's M3 MacBook Pro Gets Up to $1,000 Off In Major New Sales, Starting at $1,299 [Updated]

Sunday August 11, 2024 1:54 pm PDT by
Apple's M3 MacBook Pro is seeing multiple high value discounts on Best Buy and Amazon today, with up to $1,000 off select models. This includes a new all-time low price on the entry-level M3 512GB 14-inch MacBook Pro at $1,299.00, down from $1,599.00, and a massive $1,000 discount on the high-end 16-inch model exclusively for Best Buy members. Note: MacRumors is an affiliate partner with Best...
iPhone 16 Pro Right Side Feature

The iPhone 16 is Getting a New Button: Here's What It Can Do

Tuesday August 13, 2024 4:01 pm PDT by
Multiple rumors have suggested that the iPhone 16 models are going to have an all-new button that's designed to make it easier to capture photos when the devices are held in landscape mode. Apple calls the button the Capture Button internally, and it is going to be one of the most advanced buttons that's been introduced to date with support for multiple gestures and the ability to respond to ...
iOS 18 on iPhone Feature

Everything New in iOS 18.1 Beta 2 and iOS 18 Beta 6

Monday August 12, 2024 2:32 pm PDT by
Apple is beta testing iOS 18 and the first update to iOS 18 concurrently, and we got the second betas of iOS 18.1, iPadOS 18.1, and macOS Sequoia 15.1 today alongside the sixth betas of iOS 18, iPadOS 18, and macOS Sequoia 15. Many of the changes in iOS 18.1 are focused on bringing the .1 betas in line with the standard betas, which recently received updates to Photos and Safari, while...
Beyond iPhone 13 Better Blue Face ID Single Camera Hole

10 Reasons to Wait for Next Year's iPhone 17

Thursday August 8, 2024 4:40 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we sometimes get rumored feature leaks so far ahead of launch. The iPhone 17 series is no different – already we have some idea of what to expect from Apple's 2025 smartphone lineup. If you plan to skip...
iPhone 17 Slim Feature Single Camera 2

Next Year's Slim iPhone 17 Could Be an 'iPhone Air'

Monday August 12, 2024 8:43 am PDT by
Apple's rumored iPhone 17 "Slim" could be positioned as an iPhone "Air" to boost sales, according to Bloomberg's Mark Gurman. In the latest edition of his "Power On" newsletter, Gurman explained how the "fourth" model in the iPhone lineup since 2020 (the iPhone 12 mini, iPhone 13 mini, iPhone 14 Plus, and iPhone 15 Plus) has largely been a commercial failure. In the case of the Plus model,...

Top Rated Comments

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