diff options
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r-- | etc/profile-a-l/7z.profile | 4 | ||||
-rw-r--r-- | etc/profile-a-l/ar.profile | 2 | ||||
-rw-r--r-- | etc/profile-a-l/archiver-common.profile | 57 | ||||
-rw-r--r-- | etc/profile-a-l/atool.profile | 2 | ||||
-rw-r--r-- | etc/profile-a-l/bsdtar.profile | 2 | ||||
-rw-r--r-- | etc/profile-a-l/cpio.profile | 2 | ||||
-rw-r--r-- | etc/profile-a-l/gzip.profile | 2 |
7 files changed, 64 insertions, 7 deletions
diff --git a/etc/profile-a-l/7z.profile b/etc/profile-a-l/7z.profile index b2294c070..0d31255ad 100644 --- a/etc/profile-a-l/7z.profile +++ b/etc/profile-a-l/7z.profile | |||
@@ -7,8 +7,8 @@ include 7z.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | # Included in archiver-common.inc | 10 | # Included in archiver-common.profile |
11 | ignore include disable-shell.inc | 11 | ignore include disable-shell.inc |
12 | 12 | ||
13 | # Redirect | 13 | # Redirect |
14 | include archiver-common.inc | 14 | include archiver-common.profile |
diff --git a/etc/profile-a-l/ar.profile b/etc/profile-a-l/ar.profile index f99934e66..5a20a8181 100644 --- a/etc/profile-a-l/ar.profile +++ b/etc/profile-a-l/ar.profile | |||
@@ -8,4 +8,4 @@ include ar.local | |||
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include archiver-common.inc | 11 | include archiver-common.profile |
diff --git a/etc/profile-a-l/archiver-common.profile b/etc/profile-a-l/archiver-common.profile new file mode 100644 index 000000000..74b0b6ef6 --- /dev/null +++ b/etc/profile-a-l/archiver-common.profile | |||
@@ -0,0 +1,57 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include archiver-common.local | ||
4 | |||
5 | # common profile for archiver/compression tools | ||
6 | |||
7 | blacklist ${RUNUSER} | ||
8 | |||
9 | # WARNING: Users can (un)restrict file access for **all** archivers by | ||
10 | # commenting/uncommenting the needed include file(s) here or by putting those | ||
11 | # into archiver-common.local. | ||
12 | # | ||
13 | # Another option is to do this **per archiver** in the relevant | ||
14 | # <archiver>.local. Just beware that things tend to break when overtightening | ||
15 | # profiles. For example, because you only need to (un)compress files in | ||
16 | # ${DOWNLOADS}, other applications may need access to ${HOME}/.local/share. | ||
17 | |||
18 | # Uncomment the next line (or put it into your archiver-common.local) if you | ||
19 | # don't need to compress files in disable-common.inc. | ||
20 | #include disable-common.inc | ||
21 | include disable-devel.inc | ||
22 | include disable-exec.inc | ||
23 | include disable-interpreters.inc | ||
24 | include disable-passwdmgr.inc | ||
25 | # Uncomment the next line (or put it into your archiver-common.local) if you | ||
26 | # don't need to compress files in disable-programs.inc. | ||
27 | #include disable-programs.inc | ||
28 | include disable-shell.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | hostname archiver | ||
33 | ipc-namespace | ||
34 | machine-id | ||
35 | net none | ||
36 | no3d | ||
37 | nodvd | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | #noroot | ||
41 | nosound | ||
42 | notv | ||
43 | nou2f | ||
44 | novideo | ||
45 | protocol unix | ||
46 | seccomp | ||
47 | shell none | ||
48 | tracelog | ||
49 | x11 none | ||
50 | |||
51 | private-cache | ||
52 | private-dev | ||
53 | |||
54 | dbus-user none | ||
55 | dbus-system none | ||
56 | |||
57 | memory-deny-write-execute | ||
diff --git a/etc/profile-a-l/atool.profile b/etc/profile-a-l/atool.profile index 6e0ecb012..e377de2c8 100644 --- a/etc/profile-a-l/atool.profile +++ b/etc/profile-a-l/atool.profile | |||
@@ -17,4 +17,4 @@ private-etc alternatives,group,login.defs,passwd | |||
17 | private-tmp | 17 | private-tmp |
18 | 18 | ||
19 | # Redirect | 19 | # Redirect |
20 | include archiver-common.inc | 20 | include archiver-common.profile |
diff --git a/etc/profile-a-l/bsdtar.profile b/etc/profile-a-l/bsdtar.profile index fb4f643c8..d731a6a6e 100644 --- a/etc/profile-a-l/bsdtar.profile +++ b/etc/profile-a-l/bsdtar.profile | |||
@@ -9,4 +9,4 @@ include globals.local | |||
9 | private-etc alternatives,group,localtime,passwd | 9 | private-etc alternatives,group,localtime,passwd |
10 | 10 | ||
11 | # Redirect | 11 | # Redirect |
12 | include archiver-common.inc | 12 | include archiver-common.profile |
diff --git a/etc/profile-a-l/cpio.profile b/etc/profile-a-l/cpio.profile index 0e0299655..bdc4f21a6 100644 --- a/etc/profile-a-l/cpio.profile +++ b/etc/profile-a-l/cpio.profile | |||
@@ -11,4 +11,4 @@ noblacklist /sbin | |||
11 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
12 | 12 | ||
13 | # Redirect | 13 | # Redirect |
14 | include archiver-common.inc | 14 | include archiver-common.profile |
diff --git a/etc/profile-a-l/gzip.profile b/etc/profile-a-l/gzip.profile index 035c6459c..b261c16f4 100644 --- a/etc/profile-a-l/gzip.profile +++ b/etc/profile-a-l/gzip.profile | |||
@@ -12,4 +12,4 @@ include globals.local | |||
12 | noblacklist /var/lib/pacman | 12 | noblacklist /var/lib/pacman |
13 | 13 | ||
14 | # Redirect | 14 | # Redirect |
15 | include archiver-common.inc | 15 | include archiver-common.profile |