Closed Bug 409077 Opened 17 years ago Closed 9 years ago

Deleting a profile will follow the symlinks!

Categories

(Core Graveyard :: Profile: BackEnd, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: WSourdeau, Unassigned)

Details

(Keywords: dataloss)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.11) Gecko/20071128 Iceweasel/2.0.0.11 (Debian-2.0.0.11-1) Build Identifier: During the develpoment of extensions for Thunderbird, I use symlinks in the current profile's extension directory. While intending to remove that profile, the symlinks were followed during the process and my source files were deleted. This is unacceptable! Reproducible: Always Steps to Reproduce: 1. 2. 3.
Of course the target directories were located outside the profile tree. So Thunderbird should really have nothing to do there. Can you imagine having a symlink to $HOME or /?
confirmed linux trunk firefox/2007-12-17-07Z. steps: 1. mkdir -p ~/scratch/409077test/victim touch ~/scratch/409077test/victim/{1,2,3,4} firefox --no-remote --createprofile test409077 ln -s ~/scratch/409077test/victim ~/.mozilla/firefox/*.test409077 ls -a ~/scratch/409077test/victim . .. 1 2 3 4 2. firefox --no-remote --profilemanager select test409077, [Delete Profile], [Delete Files], [Exit] 3. ls -a ~/scratch/409077test/victim result at step 3: . .. expected same as at step 1: . .. 1 2 3 4
Status: UNCONFIRMED → NEW
Component: General → Profile: BackEnd
Ever confirmed: true
Product: Thunderbird → Core
QA Contact: general → profile-manager-backend
Version: unspecified → Trunk
Keywords: dataloss
Any development regarding that bug?
This bug is filed in a bugzilla component related to pre-Firefox code which no longer exists. I believe it is no longer relevant and I am therefore closing it INCOMPLETE. If you believe that this bug is still valid and needs to be fixed, please reopen it and move it to the Toolkit:Startup and Profile System product/component.
No longer blocks: 1243899
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.