Dear maintainer.
My firefox-esr is a little bit confused the correct location of "policies.json".
Mozilla's page https://support.mozilla.org/en-US/kb/managing-policies-linux-desktops
says:
1. Create a file called policies.json with your policies.
2. Place this file in firefox/distribution where "firefox"
is the installation directory for Firefox. (This will
vary per distribution).
In the Debian, place is definetely under /etc. Firefox-esr's debian package
creates /etc/firefox-esr :
pi@raspberrypi:~ $ dpkg -L firefox-esr |grep etc
/etc
/etc/firefox-esr
/etc/firefox-esr/firefox-esr.js
but try to read policies.json from /etc/firefox:
pi@raspberrypi:~ $ grep "/etc/fi" firefox.strace
faccessat(AT_FDCWD, "/etc/firefox/policies/policies.json", F_OK) = -1 ENOENT (No such file or directory)
and this is the problem, because it is not documented or it is not the directory created by
debian installer. And anyway, strace should not be a end user tool to find out location of
fundamendal configuration files.
My suggestion is:
1. Place this file to /etc/firefox-esr/polcies
2. Document it
3. (Optionally) Put into this policies.json
{"policies":{"DisableAppUpdate":true}}
because an end-user-program should not to try
update itself. It is matter of a package manager.
Thanks in advance