Closed Bug 273730 Opened 20 years ago Closed 20 years ago

Profile removal caused data loss by deleting files in use and not created by program.

Categories

(Core Graveyard :: Profile: BackEnd, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 273729

People

(Reporter: jestre42-bugs, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla Thunderbird/version 1.0 (20041206)

I recently installed Thunderbird and was trying to import from Outlook.
When the import failed to import messages I deleted the profile to try again.
This deleted the entire directory including 2 open locked files 'Personal.PST' '
Outlook.OST' that were in use by Outlook.
A recent installer for Mozilla suite had created a directory '../backups/user/'
and a sub directory 'user' under that so when the final destination was
'../backups/user/user' installing Thunderbird I had assumed the same operation.
However it appears to have installed the profile directly in '../Backups/' and
not added the user directory.
Upon deleting the profile I noticed that outlook would no longer display the
data from the PST file.  I then found that all my backups were deleted inluding
my firefox profile and my PST file.
This became a problem when the recent backup did not copy the PST file since it
was locked and in use by the system.
However the profile delete was more thorough and erased the files in use.


Reproducible: Always
Steps to Reproduce:
1. Create a new profile in a populated directory
2. Open and lock a pre-exisitng file in the directory
3. Remove the profile and delete it



Actual Results:  
4. The files are gone

Expected Results:  
1. The profile removal tool should only delete files it created or were added by
the program.  At the very least no foregn directories nor unrecognized files
should be deleted.  This is expected behavior and standard with most win
uninstall tools.
2. anything removed by Profile Manager should be trashed/recycled, not deleted
according to system settings. see bugs 18927 and 260496.
3. the profile creation tool should create a log of files created and added upon
installation and subsequent actions.
4. new files created or added should be logged. including sub folders,
extensions etc.
5. if the folder is not empty after Prompt before removal SOP in windows.


If this is to broad and needs to be split up into multiple bugs let me know and
I will focus this to one item and add any others.

*** This bug has been marked as a duplicate of 273729 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.