
Enterprice policies not updating eventhough the plist file has changed.
In /Library/Preferences/org.mozilla.firefox.plist:
``` <plist version="1.0"> <dict> <key>EnterprisePoliciesEnabled</key> <true /> <key>ExtensionSettings</key> <dict> <key>cloudmetering@snowsoftware.com</key> <dict> <key>install_url</key> <string>https://raw.githubusercontent.com/SnowSoftware/agent-firefox-extension/refs/heads/main/cloudmetering-v1.2.3.xpi</string> <key>installation_mode</key> <string>force_installed</string> </dict> </dict> </dict> </plist>```
In about:policies: {"cloudmetering@snowsoftware.com":{"installation_mode":"blocked","install_url":"https://raw.githubusercontent.com/SnowSoftware/agent-firefox-extension/refs/heads/main/cloudmetering-v1.2.3.xpi"}}
The plist file did read "blocked" at one point, but it no longer does. Why isn't firefox picking up the new value from the plist file? Restarting/refresing FF has not helped so far.
Ọ̀nà àbáyọ tí a yàn
Running "sudo defaults read /Library/Preferences/org.mozilla.firefox.plist" does help.
Ka ìdáhùn ni ìṣètò kíkà 👍 0All Replies (7)
This isn't typically how you would do policies.
You would convert the plist to a config file and install it that way.
It may not be the typical way, but we've been doing it like this for years now and have only recently noticed that the new settings are not picked up by FF until a complete reboot of the mac.
Afaik, the procedure is based on the official documentation. Please let me know if we've misunderstood something.
That's interesting. I'll see if something has changed.
And you're totally right.
I forgot the official documentation uses sudo defaults.
It looks like this was a Mavericks change:
https://stackoverflow.com/questions/51153974/how-to-force-reload-preference-plist-for-an-app-in-os-x
Mavericks? Hm, that's from 2013. Not saying that this isn't the cause but kinda surprised we haven't noticed this before.
Thanks for the response, will have to investigate this further.
Yeah, that seemed odd to me as well.
Please let me know if the defaults thing works.
I'll update the docs if so.
Ọ̀nà àbáyọ Tí a Yàn
Running "sudo defaults read /Library/Preferences/org.mozilla.firefox.plist" does help.