搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

[10.0.7 ESR] Temporary documents are read-only again, even with the "browser.helperAppsbrowser.helperApps.deleteTempFileOnExit" parameter set on "false". Why?

  • 4 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

We currently updated from the old 3.6 Firefox to the ESR version 10.0.7. Eversince we've used Firefox we've had a problem with documents being read-only when downloaded temporarily. But we've found the solution by finding the entry

browser.helperAppsbrowser.helperApps.deleteTempFileOnExit

in the about:config and setting it on false. Documents were writeable again, and the world was full of fluffy unicorns and rainbows.

But that doesn't seem to be sufficient when using Firefox 10.0.7 ESR, since that entry is set but all our documents are read-only again. We checked that it is a Firefox issue by deactivating all add-ons to be sure, that it's the browser itself that makes that setting.

What is the cause and how can we change it back to them being writeable again?

-- Andrea

We currently updated from the old 3.6 Firefox to the ESR version 10.0.7. Eversince we've used Firefox we've had a problem with documents being read-only when downloaded temporarily. But we've found the solution by finding the entry browser.helperAppsbrowser.helperApps.deleteTempFileOnExit in the about:config and setting it on false. Documents were writeable again, and the world was full of fluffy unicorns and rainbows. But that doesn't seem to be sufficient when using Firefox 10.0.7 ESR, since that entry is set but all our documents are read-only again. We checked that it is a Firefox issue by deactivating all add-ons to be sure, that it's the browser itself that makes that setting. What is the cause and how can we change it back to them being writeable again? -- Andrea

所有回覆 (4)

more options

It is best to use "Save as" to save a file that was opened in another application like a text editor to save the updated file under a different name and not in the %temp% folder if you want to make changes to the file and to make sure not to lose the changes.
It is not guaranteed that you keep such files after closing Firefox.

more options

While that may be best practice, it doesn't help in this case.

We use a system that creates documents by using templates and filling datafields with individual values based on the case that is being worked on. These documents are saved in the system and are only displayed for information purpose.

Still some of these documents have to be altered. The system offers this possibility by letting you edit the temp file and load it back up, so that the altered document is saved in the system. The document gets a unique file name in the temp folder which includes numbers so that the system can identify which document in the system should be overwritten by the altered version.

Since the documents aren't meant to be on the local harddrive anyway but in the system, "save as..." is no real solution in this case.

由 kriegervz 於 修改

more options

Okay, we know now why it didn't work. And it is really simple when you've found it out. As written in the first post, we used the "browser.helperAppsbrowser.helperApps.deleteTempFileOnExit "-entry to control whether the documents are read-only (true) or not (false).

Still, what we didn't know, the entry changed between versions and is now the "browser.helperApps.deleteTempFileOnExit"-entry.

So basically we just made the wrong entry. After replacing the old with the new ones, documents are writeable again.

Hope that helps anyone who may have struggled with that, too.

more options

browser.helperAppsbrowser.helperApps.deleteTempFileOnExit is probably the result of a failed pasting effort with the extra (double)"browser.helperApps" at the start of the pref name and should never have worked.