Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Enterprice policies not updating eventhough the plist file has changed.

  • 7 ответов
  • 0 имеют эту проблему
  • 90 просмотров
  • Последний ответ от Per Malmberg

more options

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.

In /Library/Preferences/org.mozilla.firefox.plist: ```<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <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.

Выбранное решение

Running "sudo defaults read /Library/Preferences/org.mozilla.firefox.plist" does help.

Прочитайте этот ответ в контексте 👍 0

Все ответы (7)

more options

This isn't typically how you would do policies.

You would convert the plist to a config file and install it that way.

more options

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.

more options

That's interesting. I'll see if something has changed.

And you're totally right.

I forgot the official documentation uses sudo defaults.

more options
more options

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.

more options

Yeah, that seemed odd to me as well.

Please let me know if the defaults thing works.

I'll update the docs if so.

more options

Выбранное решение

Running "sudo defaults read /Library/Preferences/org.mozilla.firefox.plist" does help.

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.