Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cookie permission button not working

  • 7 svar
  • 1 har dette problemet
  • 35 views
  • Siste svar av af32vxl

more options

I'm experiencing a long-lived bug, or more possibly file corruption, that became important very recently. Due to another bug in Firefox 65 (https://support.mozilla.org/en-US/questions/1249037), I need to change cookie permissions. In the preference panel under "Cookies and Site Data", the "Manage Permissions" button doesn't work, although being not gray. After clicking this button, the expected window is not shown visibly. However invisible window still blocks keyboard and mouse input to the original firefox window. Clicking away from the center of the screen or Esc would disengage and possibly close the invisible window. The consequence is that I can't see or change permissions from this window. I have been having this problem for several firefox updates so it's more like a corrupted file. Despite that, cookie permissions still function properly and can be updated through the icon on the address bar.

Although there are workarounds such as through the icon on the address bar, this is really inconvenient and makes it hardly possible to edit cross site or cross subdomain cookie permissions. How do I figure out what is wrong and correct it please? I'm using Ubuntu 18.04.

I'm experiencing a long-lived bug, or more possibly file corruption, that became important very recently. Due to another bug in Firefox 65 (https://support.mozilla.org/en-US/questions/1249037), I need to change cookie permissions. In the preference panel under "Cookies and Site Data", the "Manage Permissions" button doesn't work, although being not gray. After clicking this button, the expected window is not shown visibly. However invisible window still blocks keyboard and mouse input to the original firefox window. Clicking away from the center of the screen or Esc would disengage and possibly close the invisible window. The consequence is that I can't see or change permissions from this window. I have been having this problem for several firefox updates so it's more like a corrupted file. Despite that, cookie permissions still function properly and can be updated through the icon on the address bar. Although there are workarounds such as through the icon on the address bar, this is really inconvenient and makes it hardly possible to edit cross site or cross subdomain cookie permissions. How do I figure out what is wrong and correct it please? I'm using Ubuntu 18.04.

Valgt løsning

Problem found to be in permissions.sqlite where permission='-1' is probably obsolete but neither taken care of properly nor overwritten in recent firefox versions. The following command solves the problem.

sqlite3 /path/to/profile/permissions.sqlite delete from moz_perms where type='cookie' and permission='-1'; .exit

Les dette svaret i sammenhengen 👍 0

All Replies (7)

more options

And this problem doesn't occur on a new profile. I also migrated (/copied) the whole profile folder from a Mac to Ubuntu a few months ago, before which it was fine.

Endret av af32vxl

more options

does the dialog shop up properly when you launch firefox in safemode once?

Diagnose Firefox issues using Troubleshoot Mode

more options

I'm afriad no.

more options

You shouldn't copy a full profile folder from Mac to Linux because some files may contain absolute paths that are not compatible.. Best is to only copy (database) files you really need.

Maybe create a new profile and and check regularly if it keeps working.

more options

Hi cor-el.

Thanks for the suggestion.

Nobody wants to copy the profile folder if there's a reliable & private way to achieve the same. Based on the close relation between the configuration file and the problem, how likely do you think that copying files selectively can maintain the cookie config and meanwhile solve the problem?

To me, a likely solution is to repair some (possibly one) file. Is that viable?

more options

For the cookies you would need cookies.sqlite. For the permissions you need permissions.sqlite. You may have to modify some setting manually in Options/Preferences, but prefs.js is a file that best is not to copy.

more options

Valgt løsning

Problem found to be in permissions.sqlite where permission='-1' is probably obsolete but neither taken care of properly nor overwritten in recent firefox versions. The following command solves the problem.

sqlite3 /path/to/profile/permissions.sqlite delete from moz_perms where type='cookie' and permission='-1'; .exit