iTranslated by AI
Karabiner-Elements not working at all even after granting all permissions? Check this
Conclusion: Enable Ownership When Using External Disks
When even simple settings don't work at all, despite granting every possible permission, check if you have placed your settings on an external disk.
Karabiner-elements places its configuration file at ~/.config/karabiner/karabiner.json—in other words, the home directory. Since I have a 1TB SSD attached to the lid of my MacBook Pro and use it as my home directory, I ran into this issue.
If you're facing this,
enable ownership on the disk in question.
Doing so should make it work.
% diskutil list | grep [Disk Name]
1: APFS Volume [Disk Name] 430.4 GB disk7s1
# The last item is the disk ID (in this case, disk7s1)
% sudo diskutil enableOwnership [Disk ID]
Alternatively, you can open "Get Info" for the disk in Finder, unlock the padlock icon (requires administrator privileges and password), and then uncheck the "Ignore ownership on this volume" checkbox.

From here, it's a story
That's all for the technical details. From here on, it's a story of:
🤔 Doesn't work → ℱ Worked → What was that? → Ⅎ Ah, I see.
Karabiner-elements is helpful
By its very nature of "remapping key inputs," Karabiner-elements requires the user to grant various permissions that are not allowed by default. If you miss even one, it won't work.
When it doesn't work, Karabiner-elements doesn't just stop at "it's not working." It detects the permission status as much as possible and provides helpful support, saying, "This permission is required; please grant it like this." I think a software's personality reflects that of its creator.
Some things can't be covered by helpfulness. In those cases, look at the logs. It's written there.
However, when I tried to run it for the first time in several years for a certain reason, it wouldn't budge at all. Even a simple key remap wouldn't work. I did everything I was told. I checked multiple times if permissions were missing, revoked and re-granted them, reinstalled, and rebooted, but it just wouldn't work no matter what.
I noticed an item called "Log" in the settings sidebar. There was an error. Once you have the error message, you're good to go. Searching for the error message led me to the official troubleshooting guide.
That was exactly it. It worked. Karabiner-elements is helpful after all. Clear documentation is a huge help.
By the way, what is this "ownership"? I'm curious.
What is Mac Disk Ownership?
It seems Apple assumes that "external disks are things that are casually attached and detached across various machines." Therefore, by default, external disks are apparently set to allow full access, ignoring file owners and their associated permissions.
Certainly, if you were told "you don't have permission" every time you transferred files via a USB flash drive, it would be difficult to use.
What controls which behavior a certain disk follows is called "disk ownership."
- Deciding whether to allow or deny access based on the file owner and permissions (enable)
- Making everything within the disk accessible to everyone (disable)
It is a switch for these behaviors.
When enabled, it compares the accessing user with the file owner to control reading and writing. This is the normal behavior.
When disabled, anyone can do anything. However, as a result, files might be treated as "untrustworthy because they are placed in such a location," as seen with Karabiner-elements this time.
If you use an external disk as a permanent part of your setup on Mac, keep this in mind.
Reading the Code, Because I'm an Engineer
Karabiner-elements is open-source, and you can read the code as much as you like. It is mostly written in C++. It's hardcore.
Looking at the actual code, it checks the owner of the configuration file. It seems that when you retrieve the owner of a file on a disk where ownership is disabled, it likely results in an "unknown owner."
I see. That makes sense.
Summary
- Enable ownership when using an external disk as a permanent part of your setup on Mac.
- When something doesn't work, look at the logs. Read the error messages. Throw them into a search engine.
- If it's open-source, read the code for the parts that pique your interest. It's fun. Highly recommended 👍🏻
Discussion