r/firefox•
GauravGS

Firefox profile creation should create new folder at user provided location on its own

Discussion

My argument : If a tool is going to completely clean up a folder upon removal, shouldn't it either force you to use a new folder or create a new folder on user provided location? If it doesn't, it is prone to human error.

My situation : I lost some of my files (my manual backup wasn't up to date), due to a mistake I did while trying some aspects of profile creation in Firefox.

I tried to create a dummy profile on my main data partition, which I can access from my other distro as well. But I made a mistake of selecting the whole partition for profile, instead of the correct way of making a new dedicated folder inside it. I deleted the profile after sometime, and realized later what I have done. Edit : I selected the option to delete files while removing the profile.

Now, I am in no way trying to sweep my mistake under the rug by blaming Firefox, but this little mistake could have been catastrophic for my data. And I am in no way a new user.

My suggestion : Now I know that Firefox gives user an option to name the profile folder as they want, but that could be achieved in a different way, like...

  1. Ensuring that an empty folder to be used for a new profile, by checking contents of folder specified and warning appropriately; Or

  2. By keeping track of files and subfolders inside the profile folder, which could be used to while deleting profile.

Posted Apr 6, 2020, 9:48 AM UTC · edited

42
nextbern:nightly: | :fenixNightly: | 🐧 | :android:•

Firefox does create a new folder by default.

Feel free to file a bug with your suggestions: https://bugzilla.mozilla.org/enter_bug.cgi

3
GauravGSOP•

Yes, it creates a new folder by default

But when user chooses folder, it just goes with it. My argument is that there should be a little more checks and warnings there. It could, for example, check if that folder is empty or not, and warn appropriately.

Thanks for the link.

1