Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Firefox starts in offline mode while sandboxed

  • 2 respostas
  • 5 têm este problema
  • 10 visualizações
  • Última resposta de 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

Todas as respostas (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