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!

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Firefox starts in offline mode while sandboxed

  • 2 antwoorden
  • 5 hebben dit probleem
  • 10 weergaven
  • Laatste antwoord van AnonymousUser

more options

I'm trying to run Firefox sandboxed for security reasons. Everything works except it always starts in Offline Mode. Do I need to allow access to something in particular to fix this? Below are the contents of my sandbox profile:

firefox - sandbox profile
http://codereview.chromium.org/379019/diff/1/2

(version 1) (deny default)

(allow file-write* file-read-data file-read-metadata

 (regex "^/Users/james/Downloads")
 (regex "^/Users/james/Library/Application Support/Mozilla")
 (regex "^/Users/james/Library/Application Support/Firefox")
 (regex "^/Users/james/Library/Preferences")
 (regex "^/Users/james/Library/PreferencePanes")
 (regex "^/Users/james/Library/Caches/Firefox")
 (regex "^/Users/james/Library/Caches/TemporaryItems")
 (regex "^/Applications/Firefox.app")
 (regex "^(/private)?/tmp/"))

(allow file-read-data file-read-metadata

 (regex "^/dev/autofs.*")
 (regex "^/Library/Preferences")
 (regex "^/Library/Internet Plug-Ins")
 (regex "^/Library/PreferencePanes")
 (regex "^/usr/share/icu")
 (regex "^/usr/share/locale")
 (regex "^/System/Library")
 (regex "^/Applications/Firefox.app")
 (regex "^/usr/lib")
 (regex "^/var")
 (regex #"Frameworks/SDL.framework")
Our Module Directory Services cache
 (regex "^/private/var/tmp/mds/")
 (regex "^/private/var/tmp/mds/[0-9]+(/|$)")
 (regex "^/Users/james"))

(allow mach* sysctl-read)

(import "/usr/share/sandbox/bsd.sb") (deny file-write-data

  (regex #"^(/private)?/etc/localtime$"
    #"^/usr/share/nls/"

#"^/usr/share/zoneinfo/"))

(allow process-exec

 (regex "^/Applications/Firefox.app"))
 

(allow network*)

(allow file-read-data (regex #"^/System/Library/Fonts"))  ; 10.5.6 (allow file-read-data (regex #"^/Library/Fonts"))  ; 10.6 (allow mach-lookup (global-name "com.apple.FontObjectsServer"))  ; 10.5.6 (allow mach-lookup (global-name "com.apple.FontServer"))  ; 10.6


This happened

Every time Firefox opened

== Running

I'm trying to run Firefox sandboxed for security reasons. Everything works except it always starts in Offline Mode. Do I need to allow access to something in particular to fix this? Below are the contents of my sandbox profile: ;; ;; firefox - sandbox profile ;; ;; http://codereview.chromium.org/379019/diff/1/2 (version 1) (deny default) (allow file-write* file-read-data file-read-metadata (regex "^/Users/james/Downloads") (regex "^/Users/james/Library/Application Support/Mozilla") (regex "^/Users/james/Library/Application Support/Firefox") (regex "^/Users/james/Library/Preferences") (regex "^/Users/james/Library/PreferencePanes") (regex "^/Users/james/Library/Caches/Firefox") (regex "^/Users/james/Library/Caches/TemporaryItems") (regex "^/Applications/Firefox.app") (regex "^(/private)?/tmp/")) (allow file-read-data file-read-metadata (regex "^/dev/autofs.*") (regex "^/Library/Preferences") (regex "^/Library/Internet Plug-Ins") (regex "^/Library/PreferencePanes") (regex "^/usr/share/icu") (regex "^/usr/share/locale") (regex "^/System/Library") (regex "^/Applications/Firefox.app") (regex "^/usr/lib") (regex "^/var") (regex #"Frameworks/SDL.framework") ; Our Module Directory Services cache (regex "^/private/var/tmp/mds/") (regex "^/private/var/tmp/mds/[0-9]+(/|$)") (regex "^/Users/james")) (allow mach* sysctl-read) (import "/usr/share/sandbox/bsd.sb") (deny file-write-data (regex #"^(/private)?/etc/localtime$" #"^/usr/share/nls/" #"^/usr/share/zoneinfo/")) (allow process-exec (regex "^/Applications/Firefox.app")) (allow network*) (allow file-read-data (regex #"^/System/Library/Fonts")) ; 10.5.6 (allow file-read-data (regex #"^/Library/Fonts")) ; 10.6 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 == This happened == Every time Firefox opened == Running

Alle antwoorden (3)

more options

I have exactly the same problem...

more options

Same problem using Fedora-13

more options

This solved the problem for me.

Right-click on the about:config page to open the right-click context menu and use "New > Boolean" to create a new Boolean pref.

Name: network.manage-offline-status Value: false