Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profiles: deny access to ~/.config/autostart #6257

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions etc/profile-a-l/dropbox.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ include dropbox.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/autostart
# To allow the program to autostart, add the following to dropbox.local:
# Warning: This allows the program to easily escape the sandbox.
#noblacklist ${HOME}/.config/autostart
#mkfile ${HOME}/.config/autostart/dropbox.desktop
#whitelist ${HOME}/.config/autostart/dropbox.desktop

noblacklist ${HOME}/.dropbox
noblacklist ${HOME}/.dropbox-dist

Expand All @@ -20,8 +25,6 @@ include disable-programs.inc
mkdir ${HOME}/.dropbox
mkdir ${HOME}/.dropbox-dist
mkdir ${HOME}/Dropbox
mkfile ${HOME}/.config/autostart/dropbox.desktop
whitelist ${HOME}/.config/autostart/dropbox.desktop
whitelist ${HOME}/.dropbox
whitelist ${HOME}/.dropbox-dist
whitelist ${HOME}/Dropbox
Expand Down
7 changes: 5 additions & 2 deletions etc/profile-a-l/gitter.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ include gitter.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/autostart
# To allow the program to autostart, add the following to gitter.local:
# Warning: This allows the program to easily escape the sandbox.
#noblacklist ${HOME}/.config/autostart
#whitelist ${HOME}/.config/autostart

noblacklist ${HOME}/.config/Gitter

include disable-common.inc
Expand All @@ -16,7 +20,6 @@ include disable-programs.inc

mkdir ${HOME}/.config/Gitter
whitelist ${DOWNLOADS}
whitelist ${HOME}/.config/autostart
whitelist ${HOME}/.config/Gitter
whitelist /opt/Gitter
include whitelist-var-common.inc
Expand Down
7 changes: 5 additions & 2 deletions etc/profile-m-z/meteo-qt.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ include meteo-qt.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/autostart
# To allow the program to autostart, add the following to meteo-qt.local:
# Warning: This allows the program to easily escape the sandbox.
#noblacklist ${HOME}/.config/autostart
#whitelist ${HOME}/.config/autostart

noblacklist ${HOME}/.config/meteo-qt

# Allow python (blacklisted by disable-interpreters.inc)
Expand All @@ -21,7 +25,6 @@ include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.config/meteo-qt
whitelist ${HOME}/.config/autostart
whitelist ${HOME}/.config/meteo-qt
include whitelist-common.inc
include whitelist-var-common.inc
Expand Down