Open Bug 1715742 Opened 3 years ago Updated 1 years ago

Improve our handling of undeleted files during profile deletion

Categories

(Toolkit :: Startup and Profile System, task)

task

Tracking

()

ASSIGNED

People

(Reporter: jstutte, Assigned: nrishel)

References

Details

(Whiteboard: [fidedi-ope])

Attachments

(2 files)

Bug 1714573 improved the deletion of the profile directory's content to happen before we unlock the profile. In doing so, we might end up with a list of undeleted files now (undeleted for whatever reasons, which might be outside of our control like antivirus or other scanners).

In order to reduce the potential for leaks further, we want to:

See Also: → 1714573
Assignee: nobody → nrishel
Status: NEW → ASSIGNED
  • Prefilter profile content so that each entry can be deleted recursively without checking for root or lockfiles.
  • Store undeleted roots instead of undeleted files so that a deeply nested undeleted file don't result in factorial growth of files to delete.
  • Make directory recursion generic so file deletion and undeleted file logging can traverse paths identically.
Whiteboard: [fidedi-ope]

Sorry, I think I lost this review out of sight...

Flags: needinfo?(jstutte)

Patches are in "changes planned" status for now.

Flags: needinfo?(jstutte)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: