Closed Bug 308501 Opened 19 years ago Closed 19 years ago

nsIFile.create failure when an extension is removed from a location w/o write access

Categories

(Toolkit :: Add-ons Manager, defect)

1.8.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

References

Details

(Keywords: fixed1.8)

When running a build without talkback and a profile that had talkback installed
from an earlier build. This was on Linux but I can't imagine that it wouldn't
affect other OS's where the user only had read access. This has been around a
while and I have just now been able to duplicate.

Error: [Exception... "Component returned failure code: 0x80520015
(NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.create]"  nsresult: "0x80520015
(NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame ::
file:///usr/local/firefox/components/nsExtensionManager.js :: anonymous :: line
1051"  data: no]
Source File: file:///usr/local/firefox/components/nsExtensionManager.js
Line: 1051

I'll try to get to this tonight.
Note: talkback does not uninstall as it should in this instance.
Hrm... if the files disappeared we really shouldn't be "uninstalling" the
extension, we should just remove the extension information from the RDF.
Of course... I was using the term uninstall in regards to the process (e.g. in
this instance it should remove all references to the extension which is a part
of the overall uninstall process).

Ya' know, I've seen this before when the EM rewrite landed and I just never
found the time to consider the ramifications... doh!
Depends on: 307566
Fixed on trunk - patch is included in the patch for bug 307566
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Also fixed1.8 by the branch checkin for bug 307566
Keywords: fixed1.8
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.