Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

How to make xulstore.json permanently read only under linux

  • 2 Antworten
  • 1 hat dieses Problem
  • 1 Aufruf
  • Letzte Antwort von Yinmin

more options

I've used a file manager and the terminal (sudo chmod u-w xulstore.json) and it works, but then firefox (95.0.1 64bit) runs over it with a bulldozer.

How to fix this?

I've used a file manager and the terminal (sudo chmod u-w xulstore.json) and it works, but then firefox (95.0.1 64bit) runs over it with a bulldozer. How to fix this?

Ausgewählte Lösung

A quick Google of your question, I found this.

sudo chattr +i filename

From man chattr:

A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (2)

more options

Ausgewählte Lösung

A quick Google of your question, I found this.

sudo chattr +i filename

From man chattr:

A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

more options

wow, you're awesome