본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox starts in offline mode while sandboxed

  • 2 답장
  • 5 이 문제를 만남
  • 10 보기
  • 최종 답변자: 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

모든 댓글 (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