Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

disabling private browsing using `policies.json` seems not work

  • 9 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 20 προβολές
  • Τελευταία απάντηση από lubegasimon

more options

I followed https://support.mozilla.org/en-US/questions/1229792#question-reply about, disabling private browsing using `policies.json`, but that seems not work.

PS: am using ubuntu 18.04

I followed https://support.mozilla.org/en-US/questions/1229792#question-reply about, disabling private browsing using `policies.json`, but that seems not work. PS: am using ubuntu 18.04
Συνημμένα στιγμιότυπα

Όλες οι απαντήσεις (9)

more options

The code that you have in your policies.json file appears to be correct, but the distribution folder needs to be located in the Firefox installation directory, not your bin folder. If you go to the about:support page in Firefox, the installation directory will be listed as the Update Directory on the Application Basics table.

For more information about using the policies.json file to enforce policies in Firefox, see the Customize Firefox using policies.json page.

Hope this helps.

more options

not yet helpful, am a bit confused. Basically I installed firefox via `Ubuntu Software` as a desktop application. I have done research on how to know the installation directory on ubuntu, I have found `which firefox` which points to `/usr/bin/firefox`

more options

Firefox from the Ubuntu repositories may behave differently and Ubuntu might be customizing Firefox in a way (e.g. via autoconfig.cfg) that overrides the policies.json file.

You can check the about:policies#active page to see whether policies are active (63+).

Try the Firefox version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.


more options

Before installing a new firefox following https://www.mozilla.org/en-US/firefox/all/#product-desktop-release, which was installed successfully, checking about:policies#active, the policies were inactive, however, the new firefox, on policy was active ( DisableAppUpdate true ). So following Wesley's directive ( about:support ), my update directory is '/snap/firefox/418', which contained the distribution folder by default and policies.json files with content ``` {

 "policies": {
   "DisableAppUpdate": true
 }

} ```. So when I try to open the policies.json file using `nano policies.json`, to add policies, I get an error ( that the file system is read only ), see screen shot below.

Basically, file `policies.json` is unwritable. So how can I remove that restriction ?

Τροποποιήθηκε στις από το χρήστη lubegasimon

more options

You need to run nano as root (sudo nano) to be able to edit this file as it is in a location owned by root.

more options

it also have to be said, that after downloading the new firefox, I opened it using `ubuntu archive software manager`, not a direct save.

more options

cor-el said

You need to run nano as root (sudo nano) to be able to edit this file as it is in a location owned by root.

sorry, I just forgot to include it in a post, but it's exactly what I did `sudo nano policies.json`.

See the error down in the terminal `file 'policies.json' is unwritable`

Τροποποιήθηκε στις από το χρήστη lubegasimon

more options

Hmm. The screenshot shows it asks a password for simon and not the password for root. I don't if this is different on Ubuntu.

more options

cor-el said

Hmm. The screenshot shows it asks a password for simon and not the password for root. I don't if this is different on Ubuntu.

I did supply the password, I just wanted to show you that I had used ‘sudo nano’ before to open the policies file.