Search code examples
linuxfirefox

Apply Firefox policies.json only to Firefox but not to Nightly


I manage Firefox settings under Linux with a file policies.json placed in /etc/firefox/policies.

I now also installed Firefox Nightly on the same machine. It also seems to use the policies.json file.

Is it possible to make the policies.json directives apply only to Firefox but not to Firefox Nightly? How?


Solution

  • Ok, my one of my colleagues found it out:

    When you put the policies.json in /etc/firefox/policies the directives defined in that file are applying both to Firefox and Firefox-Nightly (assuming you installed both via your package manager as I did).

    To make policies apply to Firefox only you have to put them in /usr/lib64/firefox/distribution/. If the distribution folder does not exist yet, you'll need to create it.