Skip to content

Commit

Permalink
Prevent emptty /usr/share in google-chrome profiles
Browse files Browse the repository at this point in the history
Without whitelist-usr-share-common, /usr/share becomes empty.
Adding whitelist-runuser-common didn't break google chrome.

Whitelisting /usr/share/mozilla/extensions and
/usr/share/webext shouldn't break google chrome, either.

I tested google-chrome.profile only, but
I think later versions should not be different.
  • Loading branch information
crocket authored and kmk3 committed May 12, 2022
1 parent a33d7eb commit 89a44f7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions etc/profile-a-l/google-chrome-beta.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ include google-chrome-beta.local
# Persistent global definitions
include globals.local

# Disable for now, see https://github.com/netblue30/firejail/pull/3688#issuecomment-718711565
ignore whitelist /usr/share/mozilla/extensions
ignore whitelist /usr/share/webext
ignore include whitelist-runuser-common.inc
ignore include whitelist-usr-share-common.inc

noblacklist ${HOME}/.cache/google-chrome-beta
noblacklist ${HOME}/.config/google-chrome-beta

Expand Down
6 changes: 0 additions & 6 deletions etc/profile-a-l/google-chrome-unstable.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ include google-chrome-unstable.local
# Persistent global definitions
include globals.local

# Disable for now, see https://github.com/netblue30/firejail/pull/3688#issuecomment-718711565
ignore whitelist /usr/share/mozilla/extensions
ignore whitelist /usr/share/webext
ignore include whitelist-runuser-common.inc
ignore include whitelist-usr-share-common.inc

noblacklist ${HOME}/.cache/google-chrome-unstable
noblacklist ${HOME}/.config/google-chrome-unstable

Expand Down
6 changes: 0 additions & 6 deletions etc/profile-a-l/google-chrome.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ include google-chrome.local
# Persistent global definitions
include globals.local

# Disable for now, see https://github.com/netblue30/firejail/pull/3688#issuecomment-718711565
ignore whitelist /usr/share/mozilla/extensions
ignore whitelist /usr/share/webext
ignore include whitelist-runuser-common.inc
ignore include whitelist-usr-share-common.inc

noblacklist ${HOME}/.cache/google-chrome
noblacklist ${HOME}/.config/google-chrome

Expand Down

0 comments on commit 89a44f7

Please sign in to comment.