I don't believe it to be a syntax issue, but here's the file before running the byteshift on it.

On 11/16/2011 12:43 PM, Rippl, Steve wrote:
That should work, we have root:root 644 and that works. Have you tried commenting out all the javascript in /usr/lib/firefox-7.0.1/firefox.cfg just to ensure it isn't a syntax error in the file itself causing it to complain?



On Wed, Nov 16, 2011 at 9:22 AM, Donaldson Jeffrey <[email protected] <mailto:[email protected]>> wrote:

    Steve,

    Thanks for the reply. I have user and group setup with
    nobody:nogroup and 755 permissions. Is this wrong? How do you have
    your permissions setup? Currently we don't have it setup as a
    local app. Thanks for your help!

    Jeff


    On 11/16/2011 11:31 AM, Rippl, Steve wrote:
    On Wed, Nov 16, 2011 at 8:10 AM, Donaldson Jeffrey
    <[email protected] <mailto:[email protected]>> wrote:


        I've been trying for a few days now to get Firefox to cache
        pages to /tmp locally for all users. I updated to Firefox 7,
        then edited the firefox.js in /etc/firefox/pref to include
        these lines -

        pref("general.config.obscure_value", 0);   (supposed to tell
        FF not to worry about byteshift)
        pref("general.config.filename", "firefox.cfg");

        I then took a customized firefox.cfg file and placed it in
        /usr/lib/firefox-7.0.1.



    This is what we do (to lock down network settings and the like)
    and it works.  The only problems I can think of are permissions
    issues on  /usr/lib/firefox-7.0.1/firefox.cfg (can the user read
    it?) and whether you have an error in the JavaScript in the .cfg
    file?  Then again this is all run on the server for us (no local
    apps), are you running Firefox as a local app?

    For what it's worth, we found that many apps and even the Gnome
    desktop itself didn't work that well with nfs mounted home
    folders for the students.  We've since moved to having real local
    folder on each of the LTSP server (we have multiple load
    balanced) and we use csync (http://www.csync.org/)
    to synchronize those with the central file server on login/logout
    and every 10 minutes they're logged in.  Performance went up
    dramatically and the load on the file server is almost nothing.




-- Steve Rippl
    Technology Director
    Woodland Public Schools
    360 841 2730 <tel:360%20841%202730>

-- Regards,
    Jeff Donaldson
    Data Services Manager
    Newark Charter School
    (302) 369-2001 ext:425  <tel:%28302%29%20369-2001%20ext%3A425>
    [email protected]  <mailto:[email protected]>




--
Steve Rippl
Technology Director
Woodland Public Schools
360 841 2730

--
Regards,
Jeff Donaldson
Data Services Manager
Newark Charter School
(302) 369-2001 ext:425
[email protected]

// lock specific preferences so users cannot edit them
lockPref("extensions.update.enabled", true);
lockPref("intl.locale.matchOS", true);
lockPref("browser.shell.checkDefaultBrowser", false);
lockPref("browser.EULA.override", true);
lockPref("distribution.searchplugins.defaultLocale", "en-US");
lockPref("toolkit.networkmanager.disable", false);
lockPref("browser.cache.disk.enable", true);
lockPref("browser.cache.disk.capacity", 10000024);
lockPref("browser.cache.disk.parent_directory", /tmp/Cache);
lockPref("browser.cache.offline.enable", true);
lockPref("browser.cache.offline.capacity", 10000024);
lockPref("browser.cache.offline.parent_directory", /tmp/OfflineCache);
lockPref("browser.safebrowsing.enabled", false);
lockPref("browser.safebrowsing.malware.enabled", false);
lockPref("browser.sessionrestore.enabled", false);
lockPref("signon.rememberSignons", false);
lockPref("network.proxy.share_proxy_settings", true);
lockPref("network.proxy.backup.ftp", "wwwproxy.k12.de.us");
lockPref("network.proxy.backup.ftp_port", 8080);
lockPref("network.proxy.backup.gopher", "wwwproxy.k12.de.us");
lockPref("network.proxy.backup.gopher_port", 8080);
lockPref("network.proxy.backup.socks", "wwwproxy.k12.de.us");
lockPref("network.proxy.backup.socks_port", 8080);
lockPref("network.proxy.backup.ssl", "wwwproxy.k12.de.us");
lockPref("network.proxy.backup.ssl_port", 8080);
lockPref("network.proxy.ftp", "wwwproxy.k12.de.us");
lockPref("network.proxy.ftp_port", 8080);
lockPref("network.proxy.gopher", "wwwproxy.k12.de.us");
lockPref("network.proxy.gopher_port", 8080);
lockPref("network.proxy.http", "wwwproxy.k12.de.us");
lockPref("network.proxy.http_port", 8080);
lockPref("network.proxy.no_proxies_on","localhost,127.0.0.1, .ncs.k12.de.us, 
.doe.k12.de.us");
lockPref("network.proxy.share_proxy_settings", true);
lockPref("network.proxy.socks", "wwwproxy.k12.de.us");
lockPref("network.proxy.socks_port", 8080);
lockPref("network.proxy.ssl", "wwwproxy.k12.de.us");
lockPref("network.proxy.ssl_port", 8080);
lockPref("network.proxy.type", 1);
-- 
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to