Hello Mike,

Am 25.05.2007 18:31, Mike Hommey schrieb:
> On Fri, May 25, 2007 at 09:33:00AM +0200, Fabian Holler <[EMAIL PROTECTED]> 
> wrote:
>> Package: iceweasel
>> Version: 2.0.0.3-1
>> 
>> I will lock various iceweasel settings for users with lockPref, i.e.
>> users should'nt be able to install firefox extensions on they're own.
>> 
>> Because /usr/lib/iceweasel/iceweasel.cfg will be overriden due an
>> iceweasel package update, options should be set in the file
>> /etc/iceweasel/pref/iceweasel.js.
>> 
>> To forbid this its possible to set "lockPref("xpinstall.enabled", false);".
>> If i set this option in /usr/lib/iceweasel/iceweasel.cfg it works like
>> expected. But lockPref() options in/etc/iceweasel/pref/iceweasel.js
>> will be ignored, only pref() settings will be processed.
>> I tested it with various lockPref settings..
>> 
>> /etc/iceweasel/pref is the only location I found where I can set
>> iceweasel prefs for all users, that would'nt be overwritten due an update.
>> 
>> Due to the fact that there isn't another file to set securely lockPref
>> settings, I assume that this is a bug.
> 
> What you can do is add a .js file in /etc/iceweasel/pref to set the
> general.config.filename preference to another file name than
> iceweasel.cfg and create this file in /usr/lib/iceweasel, containing
> whatever lockPrefs you want.

Thank you, this works :)

But it should be also possible to set lockPref settings in
/etc/iceweasel/pref. This is the preferred directory for Iceweasel
configuration, all iceweasel configuration should be happen there.

best regards

Fabian
-- 
-- inmedias.it - linux und service
--
-- Asterisk / Scalix / NX / RedHat Advanced Business Partner
--
------------
- inmedias.it GmbH, Lippmannstraße 71, 22769 Hamburg
- Fon://+49-40-41436-0 / Fax://+49-40-41436-414
- http://www.inmedias.it
- Amtsgericht Hamburg HRB 69814 / UStID DE812744902
- Geschäftsführer Dipl. Inform. FH Carsten Brunke
------------


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to