Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Unable to give a complete path while setting config path for general.config.filename", as I want to lockdown configuration values differently for each user

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: cor-el

more options

Giving a complete path while setting config path for "general.config.filename", as I want to lockdown configuration values differently for each user. I want to be able to do the below in all.js pref("general.config.filename", "%USERPROFILE%/mozilla.cfg"); but it doesn't seem to work. Is there a way of doing this. I greatly appreciate any approach of a way to be able to set the lock down config file path on a per user basis.

Best Regards Venkata

User Agent

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

Giving a complete path while setting config path for "general.config.filename", as I want to lockdown configuration values differently for each user. I want to be able to do the below in all.js pref("general.config.filename", "%USERPROFILE%/mozilla.cfg"); but it doesn't seem to work. Is there a way of doing this. I greatly appreciate any approach of a way to be able to set the lock down config file path on a per user basis. Best Regards Venkata == User Agent == Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

すべての返信 (1)

more options

The only way to do that is to install Firefox for each user individually and place the corresponding mozilla.cfg in each program folder.

See also http://mxr.mozilla.org/mozilla-central/source/extensions/pref/autoconfig/src/prefcalls.js