Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How to make xulstore.json permanently read only under linux

  • 2 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: 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?

선택된 해결법

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.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (2)

more options

선택된 해결법

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