Closed Bug 1819253 Opened 3 years ago Closed 3 years ago

IOUtils.remove: Retry on E_ACCESSDENIED

Categories

(Toolkit Graveyard :: OS.File, task, P1)

Desktop
Windows

Tracking

(firefox112 fixed)

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: beth, Assigned: beth)

References

Details

Attachments

(1 file)

When calling OS.File.remove() on a Windows read-only file, it will retry the operation after removing the readonly attribute. We probably don't always want to do this, so an extra option to opt-in would be fine.

https://searchfox.org/mozilla-central/rev/aa3ccd258b64abfd4c5ce56c1f512bc7f65b844c/toolkit/components/osfile/modules/osfile_win_front.js#513-529

Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8305d79eb872 Retry IOUtils.remove on E_ACCESSDENIED r=nika
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: