-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extension woes, remote profile [solved: network.file.disable_unc_paths] #651
Comments
attn @gorhill |
I can't reproduced... also fresh profile on FF 65.0.1 (Windows x64) with latest ghacks. Installed uBO and it works just fine. But there is a glitch on FF 65.0.1, fresh not altered profile (without user.js): |
Okay. Found the cause, which was actually to do with network paths. Now updating original post.
|
And can you reproduce with a fresh profile without user.js? |
It works perfectly without user.js so I am assuming user.js has locked down access to remote network paths. To clarify:
So perhaps a setting that is preventing a remotely stored add-on from being accessed might be the problem, as the error page does throw out the originally described 'access denied' error. |
/* 2660: lock down allowed extension directories
* [SETUP-CHROME] This will break extensions that do not use the default XPI directories
* [1] https://mike.kaply.com/2012/02/21/understanding-add-on-scopes/
* [1] archived: https://archive.is/DYjAM ***/
user_pref("extensions.enabledScopes", 1); // [HIDDEN PREF]
user_pref("extensions.autoDisableScopes", 15);
`` |
Have been tinkering with various combinations of the specific settings suggested by the Son of Thrain, but no success yet. Update: The default FF config is 0 for enabledScopes and 15 for autoDisableScopes. Adjusting to the 0 and 15 default, and various other combos, did not correct the error. So could it perhaps be another setting? Update: It seems those settings have more to do with the install part of the extension rather than it's functionality. Not sure. Update: Okay. Solution found. It was the restriction of network paths found in the setting -
when changed to Now updating original post with solution. Also, perhaps a note should be included in the script for that setting which explains that if used with a remotely stored profile on a network path this setting should be changed to |
Thanks for the trubleshooting. It wasn't clear from the first few posts that the profile was using UNC, but yeah, obviously that (pref) would screw things up, but doesn't exactly stick out I'll see what @earthlng says about adding a [SETUP-CHROME] tag. I would expect this sort of thing in an enterprise, and users should be able to troubleshoot it themselves (we don't want to overdo it on the setup tags or it defeats the power of having them) bump @earthlng |
IMO [SETUP-CHROME] should be reserved for things that a lot of people might want to change. |
@earthlng so long as there is some brief somewhere to prevent grey hairs, fists upon desks, grinding of teeth, clenching of jaws, or any other bouts of frustration. Perhaps the Son of Thrain will agree. |
The problem is what to add in the one line so that a trouble shooter would find it - and I can't predict what a user will search for, unless I use a setup tag. We have 11 of them, 1 more won't hurt :slipperyslope: :natiionalemergency: :wall: |
Without testing it, I'm not sure if the breakage is just the extension pages. i.e is the actual extension and/or extension IDB/localstorage etc created (maybe Firefox as the parent process isn't restricted). But IMO, the actual extension is broken, since it can't read it's settings - depends on the extension I guess. I'm not even sure if it's IDB or localStorage. No need to test anything, I'll just make the info a bit more generic |
Problem: Extensions can be downloaded and installed. Extensions will not function or show their configuration pages. Fresh profile on FF 65.0.1 (Windows AMD64), latest ghacks. Occurs with any extension. Update: Cause of problem found, see below.
Currently searching for solution.Update: Solution found, see below.Example of error when attempting to access uBlock origin extension config options:
Console messages:
That ExtensionContent.jsm @ view-source:resource://gre/modules/ExtensionContent.jsm points to line 157:
defaultConstructor(url) { let promise = ChromeUtils.compileScript(url, this.options); promise.then(script => { promise.script = script; }); return promise; }
This extension access error seems somewhat related to: #227
Cause: This problem occurs only if the profile is stored remotely on a shared folder network path and is caused by the user.js setting
network.file.disable_unc_paths; true
.Solution: Set
network.file.disable_unc_paths
; tofalse
.The text was updated successfully, but these errors were encountered: