sysprefs_ad_tracking_disable check #326

Closed
opened 2026-01-19 18:30:04 +00:00 by michael · 1 comment
Owner

Originally created by @robertgendler on GitHub.

Summary

The check for sysprefs_ad_tracking_disable is incorrect.

Steps to reproduce

Apply the configuration profile for disabling ad tracking.

Run the check in the Terminal
sudo /usr/bin/profiles -P -o stdout | /usr/bin/grep -c '"forceLimitAdTracking" = 1'

What is the current bug behavior?

0 found due to the quotes

Possible fixes

/usr/bin/profiles -P -o stdout | /usr/bin/grep -c 'forceLimitAdTracking = 1;'
No quotes around forceLimitAdTracking

Originally created by @robertgendler on GitHub. <!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label and verify the issue you're about to submit isn't a duplicate. ---> ### Summary The check for sysprefs_ad_tracking_disable is incorrect. ### Steps to reproduce Apply the configuration profile for disabling ad tracking. Run the check in the Terminal sudo /usr/bin/profiles -P -o stdout | /usr/bin/grep -c '"forceLimitAdTracking" = 1' ### What is the current *bug* behavior? 0 found due to the quotes ### Possible fixes /usr/bin/profiles -P -o stdout | /usr/bin/grep -c 'forceLimitAdTracking = 1;' No quotes around forceLimitAdTracking
Author
Owner

@robertgendler commented on GitHub:

Fixed within the Catalina branch.

@robertgendler commented on GitHub: Fixed within the Catalina branch.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#326