Closed Bug 1312992 Opened 8 years ago Closed 4 years ago

Profile folder deletes home folder

Categories

(Toolkit :: Startup and Profile System, defect, P5)

45 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 302087

People

(Reporter: wizard, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160921204512

Steps to reproduce:

Delete all files in home folder with these steps:

1.  Start Firefox with -p
2.  Select 'Create Profile' and 'Choose Folder' and choose user's home directory.
4.  Restart Firefox with -p
5.  Select 'Delete Profile' and choose the one created in step 2.


Actual results:

Step 5 deletes content of the home directory.


Expected results:

1.  Prevent user from selecting home directory as Firefox Profile Folder.
2.  Warn user in case of selecting to create a profile in a folder that is not empty.
Summary: working directory erases home folder → Profile folder deletes home folder
Component: Untriaged → Startup and Profile System
Product: Firefox → Toolkit
I'll certainly take a patch for both of these.
Priority: -- → P5
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.