aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-29 18:23:17 -0300
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-02-08 19:22:57 +0000
commitc2e40c6d4e9c76304c3f49e04019871322fa6b77 (patch)
tree2d55f6fc268b1e52698759f4d0a693e068e1e7c2 /etc/profile-m-z
parentformating (diff)
downloadfirejail-c2e40c6d4e9c76304c3f49e04019871322fa6b77.tar.gz
firejail-c2e40c6d4e9c76304c3f49e04019871322fa6b77.tar.zst
firejail-c2e40c6d4e9c76304c3f49e04019871322fa6b77.zip
archivers: move archiver-common.inc include to the bottom
And mark it as a redirect profile. This is done so when including other *-common.inc profiles, such as firefox-common.profile.
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/tar.profile9
-rw-r--r--etc/profile-m-z/unrar.profile5
-rw-r--r--etc/profile-m-z/unzip.profile5
-rw-r--r--etc/profile-m-z/xzdec.profile1
-rw-r--r--etc/profile-m-z/zstd.profile1
5 files changed, 14 insertions, 7 deletions
diff --git a/etc/profile-m-z/tar.profile b/etc/profile-m-z/tar.profile
index f6efb0feb..1c3612326 100644
--- a/etc/profile-m-z/tar.profile
+++ b/etc/profile-m-z/tar.profile
@@ -7,13 +7,16 @@ include tar.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10# Included in archiver-common.inc
11ignore include disable-shell.inc
12
10# Arch Linux (based distributions) need access to /var/lib/pacman. As we drop all capabilities this is automatically read-only. 13# Arch Linux (based distributions) need access to /var/lib/pacman. As we drop all capabilities this is automatically read-only.
11noblacklist /var/lib/pacman 14noblacklist /var/lib/pacman
12 15
13ignore include disable-shell.inc
14include archiver-common.inc
15
16private-etc alternatives,group,localtime,login.defs,passwd 16private-etc alternatives,group,localtime,login.defs,passwd
17#private-lib libfakeroot,liblzma.so.*,libreadline.so.* 17#private-lib libfakeroot,liblzma.so.*,libreadline.so.*
18# Debian based distributions need this for 'dpkg --unpack' (incl. synaptic) 18# Debian based distributions need this for 'dpkg --unpack' (incl. synaptic)
19writable-var 19writable-var
20
21# Redirect
22include archiver-common.inc
diff --git a/etc/profile-m-z/unrar.profile b/etc/profile-m-z/unrar.profile
index 9487f8e68..65f1a425a 100644
--- a/etc/profile-m-z/unrar.profile
+++ b/etc/profile-m-z/unrar.profile
@@ -7,8 +7,9 @@ include unrar.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10include archiver-common.inc
11
12private-bin unrar 10private-bin unrar
13private-etc alternatives,group,localtime,passwd 11private-etc alternatives,group,localtime,passwd
14private-tmp 12private-tmp
13
14# Redirect
15include archiver-common.inc
diff --git a/etc/profile-m-z/unzip.profile b/etc/profile-m-z/unzip.profile
index 8da9ea820..c94416b87 100644
--- a/etc/profile-m-z/unzip.profile
+++ b/etc/profile-m-z/unzip.profile
@@ -10,6 +10,7 @@ include globals.local
10# GNOME Shell integration (chrome-gnome-shell) 10# GNOME Shell integration (chrome-gnome-shell)
11noblacklist ${HOME}/.local/share/gnome-shell 11noblacklist ${HOME}/.local/share/gnome-shell
12 12
13include archiver-common.inc
14
15private-etc alternatives,group,localtime,passwd 13private-etc alternatives,group,localtime,passwd
14
15# Redirect
16include archiver-common.inc
diff --git a/etc/profile-m-z/xzdec.profile b/etc/profile-m-z/xzdec.profile
index 082392a08..c5e8d1631 100644
--- a/etc/profile-m-z/xzdec.profile
+++ b/etc/profile-m-z/xzdec.profile
@@ -7,4 +7,5 @@ include xzdec.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10# Redirect
10include archiver-common.inc 11include archiver-common.inc
diff --git a/etc/profile-m-z/zstd.profile b/etc/profile-m-z/zstd.profile
index 42749ba6d..07a75f97f 100644
--- a/etc/profile-m-z/zstd.profile
+++ b/etc/profile-m-z/zstd.profile
@@ -7,4 +7,5 @@ include zstd.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10# Redirect
10include archiver-common.inc 11include archiver-common.inc