搜尋 Mozilla 技術支援網站

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

了解更多

Installing or updating an extension fails

  • 3 回覆
  • 30 有這個問題
  • 1 次檢視
  • 最近回覆由 montasir

more options

Firefox version: 3.6.8 OS: Mandriva Linux 2010.1

After adding a new extension, or updating an existing one, Firefox asks for a restart. When Firefox restarts, the extension is not installed/updated and it requires a restart.

When checking the extensions.log file I found the following three lines repeated a number of times on each Firefox start:

2010-08-12 17:25:25 - safeInstallOperation: file extraction failed, rolling back file moves and aborting installation. 2010-08-12 17:25:25 - ExtensionManager:_finishOperations - failure, catching exception - lineno: 1608 - file: undefined - [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/xulrunner-1.9.2.8/components/nsExtensionManager.js :: safeInstallOperation :: line 1608" data: no]

Firefox version: 3.6.8 OS: Mandriva Linux 2010.1 After adding a new extension, or updating an existing one, Firefox asks for a restart. When Firefox restarts, the extension is not installed/updated and it requires a restart. When checking the extensions.log file I found the following three lines repeated a number of times on each Firefox start: 2010-08-12 17:25:25 - safeInstallOperation: file extraction failed, rolling back file moves and aborting installation. 2010-08-12 17:25:25 - ExtensionManager:_finishOperations - failure, catching exception - lineno: 1608 - file: undefined - [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/xulrunner-1.9.2.8/components/nsExtensionManager.js :: safeInstallOperation :: line 1608" data: no]

被選擇的解決方法

After some trial and error, I discover that my instance of this problem was caused by having the profile on a FAT drive (for ease of dual boot with Windows). FAT does not allow user permissions so any attempt to do chown fails. Copying the profile to my Linux filesystem in a temporary directory, changing ~/.thunderbird/profiles.ini to point to it and doing the install worked perfectly. I then copied all the files in the profile directory back again and I now have the add-on installed.

Something of a work-around, but at least it worked

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

Running firefox from a command line as root seems to install the extensions.

more options

選擇的解決方法

After some trial and error, I discover that my instance of this problem was caused by having the profile on a FAT drive (for ease of dual boot with Windows). FAT does not allow user permissions so any attempt to do chown fails. Copying the profile to my Linux filesystem in a temporary directory, changing ~/.thunderbird/profiles.ini to point to it and doing the install worked perfectly. I then copied all the files in the profile directory back again and I now have the add-on installed.

Something of a work-around, but at least it worked

more options

Thanks ribbleconsultants. This workaround actually solved the problem. But as you said, it is a workaround, and it would not be convenient if you are switching a lot between your dual boot OSs.