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.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to