Permissions window never closes

Hello,

The following window keeps opening, when I click on Continue. It switches to the the second window and when I click on Start using BTT & open preferences it closes and then reopens the first window, this continues over and over.

Can someone help me solve this issue ? I cannot use BTT anymore.

Best regards,

This is most likely a file permission issue. Did you recently restore from a backup or change your Mac username? (BTT can not save the state to its data file, most likely because it is not allowed to access it anymore)

You could resolve it by running this command while BTT is quit:

defaults delete com.hegenberg.BetterTouchTool

This would however delete basic settings and state like launch on startup etc. - it would not delete your trigger setups though.

You could also check the permissions of this file: ~/Library/Preferences/com.hegenberg.BetterSnapTool.plist - however it is often not obvious how to resolve these issues on macOS. Disk Utility can fix them but takes hours.

I did not restore from a backup but I recently used mackup tool to prepare for a backup, it copies the file and does a symlink to it.

I removed the symlink and copied it back to it’s original place and here is the permissions:
$ ll ~/Library/Preferences/com.hegenberg.BetterSnapTool.plist
-rw------- 1 celrenheit 326K Sep 16 09:43 /Users/celrenheit/Library/Preferences/com.hegenberg.BetterSnapTool.plist

Ah yes mackup is also known for causing issues with this.

You can try these (generated with ChatGPT but that should fix it)

1. Remove any immutable flags

Time Machine restores sometimes leave the uchg flag behind:

chflags nouchg,noschg ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist


2. Reset ACLs to default (only POSIX permissions left)

chmod -N ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist


3. Ensure ownership is correct (should be your user, group staff)

chown "$USER":staff ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist


4. Make sure permissions allow read/write for the user

chmod 600 ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist

I tried all of them besides the second which gives me an error

chmod -N ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist
chmod: invalid option -- 'N'
Try 'chmod --help' for more information.

none of them worked.

Should I proceed with defaults delete com.hegenberg.BetterTouchTool ?

Huh that is weird, which version of macOS are you on? I think the -N argument has been supported for quite some time

my bad, I am using gnu coreutils:
$ which chmod
/opt/homebrew/opt/coreutils/libexec/gnubin/chmod

/bin/chmod -N ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist worked but it did not change the behavior of the window

MacOS 15.6.1

The window (and BTT in general) were closed when you ran these?

yes it was

Weird. Unfortunately then I also don’t know. You can also rename the ~/Library/Preferences/com.hegenberg.BetterTouchTool.plist file to something else in case you’d need to restore some setting later

everything is fine now, my bad it was my mistake. I copied the file to wrong destination:
cp backup/Library/Preferences/com.hegenberg.BetterTouchTool.plist ~/Library/Preferences/com.hegenberg.BetterSnapTool.plist

These things should happen on monday morning, not tuesday…

Thank you very much for your support and quick response

1 Like

Ah, then I can at least make sense of it :slight_smile: Thanks for the update!

1 Like