Made cookies.sqlite read-only, it's gone when I returned to unmake read-only
=
See the solution at the end of this post
=
Not sure now what I tried to accomplish with this move, in Ubuntu 12.04 and Firefox 23 as my current browser version. Whatever, it did not have desired effect, Firefox will not save any cookies past the session anymore.
I have these files in my profile starting with "cookies" in the name:
cookies.sqlite.bak cookies.sqlite.bak-rebuild cookies.sqlite-shm cookies-sqlite-wal
I was going to ask this question, and looking in the profile to see what I have there, I closed Firefox and renamed cookies.sqlite.bak to cookies.sqlite. Opened Firefox and I see cookies.sqlite missing and again there is a cookies.sqlite.bak.
This time, with the browser open on this question-in-progress, I copied cookies.sqlite.bak to cookies.sqlite.bak (copy) and renamed that to cookies.sqlite. It has read-write permissions and it remains to be seen what happens when I close the browser and reopen it.
My privacy setup is set to accept all cookies, including third-party, and to discard cookies when I close Firefox.
CookieMonster is used to override Firefox default for those sites where I want to accept cookies so I can keep site preferences or to stay logged-in. CookieMonster is not being obeyed, the cookies are discarded.
==
Solution
==
Based on the answer in the third post in the thread, from the top two lines of Cor-el's post, I have cleared my problem with just the removal of all files with "cookies.sqlite" at the beginning of their names, closing and restarting Firefox. Firefox recreated all the names, and the new cookies.sqlite has read-write permissions without my setting them.
In the Privacy tab under Edit > Preferences: Firefox is set to use custom settings for history, and I accept all cookies, including third-party, and keep them until I close Firefox.
I use the CookieMonster add-on to override this default setting on selected sites, so I can keep their cookies from one session to the next, which saves some site preferences, and keeps me signed in to my web site.
Back on the Privacy tab, I clear history when Firefox closes, but in Settings, I do not include cookies. (I include cache and offline website data.)
To include cookies here would cause Firefox to dump ALL cookies at the end of the session including those which save my site preferences and keep me logged in via settings in CookieMonster.
Linux_Mint_Firefox modificouno o
Chosen solution
Did you try to remove all cookies.sqlite files and let Firefox create a new file?
Create a new profile as a test to check if your current profile is causing the problems.
See "Creating a profile":
- https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
- http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
Ler a resposta no contexto 👍 1All Replies (5)
Set Firefox to always accept cookies and disabled CookieMonster addon. Shut Firefox and opened it again. Still have to re-enter my sign-ons.
I had copied and renamed a copy of cookies.sqlite.bak to cookies.sqlite, but it went away as soon as the next opening of the browser.
Set Firefox to always remember history, instead of Custom, and set Google to open search results in a new window, which I treat as a new tab, and logged into my web site. Closed Firefox and reopened.
Lost my Google search preference and must log in again on my web site.
I really fouled things up good. Where to from here?
Chosen Solution
Did you try to remove all cookies.sqlite files and let Firefox create a new file?
Create a new profile as a test to check if your current profile is causing the problems.
See "Creating a profile":
- https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
- http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
Blowing away the family of cookies.sqlite* and restarting Firefox caused Firefox to recreate everything, including the cookies.sqlite file itself.
I signed into my web site and remembered myself on this computer, and closed the browser, and upon reopening, I am still logged in.
Quite apparent that the whole family of cookies files works together, and I appreciate your suggestion! After some further testing confirms everything is OK, I will attempt to edit my top post to include the fix.
You only need the cookies.sqlite file
The cookies.sqlite-shm and cookies-sqlite-wal are SQLite temp files and should go away as soon as Firefox get closed, but this may not be working properly if you make cookies.sqlite read-only and you need to remove them yourself.
Indeed the cookies.sqlite is the only file remaining of the cookies family of files when I close Firefox.
Thank you for your assistance Cor-el!