Saturday, November 9, 2024

permission – How to stop “Allow For One Month” in macOS 15 Sequoia – especially when replayd ScreenCaptureApprovals.plist is missing?

It’s been mentioned that this can be manipulated handily via this blog:
explanation

So I attempted to do this for a few tools:

$ defaults write \
  ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist \
  "/Applications/Setapp/CleanShot X.app/Contents/MacOS/CleanShot X Setapp" \
  -date "3024-09-21 12:40:36 +0000"

$ defaults write \
  ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist \
  "/Applications/Zight.app/Contents/MacOS/Zight" \
  -date "3024-09-21 12:40:36 +0000"

$ defaults write \
  ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist \
  "/Applications/DisplayLink\ Manager.app/Contents/MacOS/DisplayLinkUserAgent" \
  -date "3024-09-21 12:40:36 +0000"

And they all appear to show up after this:

$ defaults read ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist 

{
    "/Applications/DisplayLink\\\\ Manager.app/Contents/MacOS/DisplayLinkUserAgent" = "3024-09-21 12:40:36 +0000";
    "/Applications/Setapp/CleanShot X.app/Contents/MacOS/CleanShot X Setapp" = "3024-09-21 12:40:36 +0000";
    "/Applications/Zight.app/Contents/MacOS/Zight" = "3024-09-21 12:40:36 +0000";
}

But I’m not 100% convinced this is the right approach yet since it clearly appears my replayd config is broken, so I’ll come back to this answer to further offer some reports if this works in perpetuity or not.

Related Articles

Latest Articles