On Tue, May 29, 2007 at 10:10:01AM +0200, Fabian Holler <[EMAIL PROTECTED]>
wrote:
> 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.
Currently, lockPref can only be used from the file defined with
general.config.filename. I ignore the reason. I don't see a reason not
to be able to set lockPrefs in other system preference files, actually...
I'll try to take a look at this at the occasion.
Mike
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]